Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-100711 Introduce a new class for maintaining DSS/CSS caches
  3. SERVER-103708

ShardServerOpObserver must only react to the oplog ā€˜c’ entry for createDatabase and dropDatabase

    • Catalog and Routing
    • Fully Compatible
    • CAR Team 2025-04-14, CAR Team 2025-04-28
    • 200
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      ShardServerOpObserver is currently misused to commit metadata for createDatabaseand dropDatabase. Today, its role is to write to disk, populate the DSS, and log the 'c' oplog entry.

      It should only be used to react to the oplog 'c' entry and not be used for installing database metadata in different components. By doing the last, we are decoupling sharding knowledge from the oplog.

            Assignee:
            pol.pinol@mongodb.com Pol Pinol
            Reporter:
            pol.pinol@mongodb.com Pol Pinol
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: