Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-83433

Add back the test coverage for running db hash and validation check on replica set that is fsync locked and has replica set endpoint enabled

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Cluster Scalability
    • Cluster Scalability 2023-12-25, Cluster Scalability 2024-1-8, Cluster Scalability 2024-1-22, Cluster Scalability 2024-2-5, Cluster Scalability 2024-2-19, Cluster Scalability 2024-3-4, Cluster Scalability 2024-3-18, Cluster Scalability 2024-4-1, Cluster Scalability 2024-4-15, Cluster Scalability 2024-4-29, Cluster Scalability 2024-5-13, Cluster Scalability 2024-5-27, Cluster Scalability 2024-6-10, Cluster Scalability 06/24/24, Cluster Scalability 2024-07-08

      The db hash and validation check for a ReplSetTest involves running listCollections and collStats commands against each mongod while it is fsync locked. On a mongod with replica set endpoint enabled, those collStats commands are handled using the router code paths which may trigger a catatlog cache refresh. The router service on mongod currently uses the ShardServerCatalogCacheLoader (SERVER-82588). So when a refresh occurs, it requires doing a noop write which will then deadlock since the mongod is fsync locked. This deadlock should go away after SERVER-82588. For now, SERVER-81968 has temporarily changed the number of nodes in the replica sets in the noPassthrough/rs_endpoint/ tests with user collections to 1 to avoid the db hash check. 

      The CheckReplHash hook in replica set endpoint suites appeared to suffer from the same hang issue so it has been disabled from all those suites.

            Assignee:
            Unassigned Unassigned
            Reporter:
            cheahuychou.mao@mongodb.com Cheahuychou Mao
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: