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

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

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • 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

    Description

      The db hash check for a ReplSetTest involves running 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 rs_endpoint/ tests with user collections to 1 to avoid the db hash check. 

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: