Remove recordIdsReplicated from mongos listCollections Output

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The recordIdsReplicated field in the metadata collection can be inconsistent across shards in a sharded cluster.

      Since the listCollections command uses the primary shard to display the recordIdsReplicated field, the value shown pertains only to the primary shard and does not reflect the state across all shards. This can confuse the client.

      To mitigate potential confusion and ensure clarity in the output of listCollections on sharded clusters, we propose removing the recordIdsReplicated field from the listCollections output on mongos until its behavior is fully reviewed in SERVER-122753 when we get it running for ASC. For DSC it is not a problem as all collections uses replicated recordIds

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

              Created:
              Updated: