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

collMod should not call catalogClient::getCollection during secondary replication

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.0.0-rc0
    • None
    • None
    • Sharding EMEA
    • Fully Compatible
    • ALL
    • Sharding EMEA 2023-04-03, Sharding EMEA 2023-04-17
    • 135

    Description

      This is problematic in a config catalog environment because CatalogClient::getCollection will perform a read with read concern majority with afterClusterTime against the config server. And since itself is the config server, it can get stuck waiting for the clusterTime since the node's opTime will not advance because it is still processing the collMod op, causing a cyclic dependency.

      It is also not ideal that this call is performed while collection MODE_X is being held.

      Attachments

        Activity

          People

            allison.easton@mongodb.com Allison Easton
            randolph@mongodb.com Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: