A shard catalog collection update or invalidation are ignored on the primary node if there is an ongoing recovery

XMLWordPrintableJSON

    • Catalog and Routing
    • Fully Compatible
    • ALL
    • v9.0
    • CAR Team 2026-07-20
    • 200
    • 🟦 Shard Catalog
    • None
    • None
    • None
    • None
    • None
    • None

      If shard catalog metadata is invalidated or updated while a recoverer is already running, the recoverer will be the one in charge of processing the event using the OplogEntry timestamp as its reference. On primary nodes, however, that timestamp is 0 because the opTime field of the OplogEntry is cleared by repl::logOp(). Consequently, if recovery is already in progress, invalidating or updating shard catalog metadata has no effect on primaries.

            Assignee:
            Silvia Surroca
            Reporter:
            Silvia Surroca
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: