Revisit listCollections Behavior Regarding recordIdsReplicated Field in Sharded Clusters

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 field recordIdsReplicated in collection metadata is not consistent across shards in a sharded cluster. However, when executing the listCollections command, this field is displayed in the info section.

      Since the listCollections command executes on the primary shard, the value of recordIdsReplicated shown corresponds to the state of that collection on the primary shard only. This behavior can potentially mislead the client, as the value does not represent the state across all shards.

      This ticket aims to revisit the behavior of listCollections with respect to recordIdsReplicated in the context of sharded clusters.

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

              Created:
              Updated: