ExportXMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.1.0-rc0, 9.1.0-rc1025
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • Fully Compatible
    • Storage Execution 2026-11-09, Storage Execution 2026-11-23
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Add the single shared predicate for "this collection replicates rids under the set-wide feature": explicitly replicated AND non-clustered, excluding implicitly replicated namespaces: config.transactions, config.image_collection, change stream pre-images).

      Details

      • One function used by every consumer: op observer rid emission, applier rid expectations, the initial sync cloner, dbhash's includeReplicatedRecordIds path, and restore tooling.
      • Two traps this prevents: the session reaper's deletes on config.transactions/config.image_collection are replicated but carry no rid, so a check keyed on "replicated namespace" false-positives, and rid comparison between in-group nodes would report false divergence on exempt collections.
      • Clustered collections are exempt because the rid is derived from _id (the applier already computes an effective rid for them).

      Acceptance criteria

      • Single helper with unit tests covering clustered, implicitly replicated, local, and plain replicated collections.
      • Existing per-collection recordIdsReplicated call sites should we changed to use the helper.

            Assignee:
            Ernesto Rodriguez Reina
            Reporter:
            Ernesto Rodriguez Reina
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: