Construct sub-batching bulkWrite command to send to shard

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Replication
    • Fully Compatible
    • Repl 2023-02-20, Repl 2023-03-06, Repl 2023-03-20
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      When constructing the bulkWrite command for each shard endpoint out of a TargetedWriteBatch, we will need to calculate the namespaces used in this sub-batch to construct the nsInfo and re-index each operation's namespace index (ns_idx). Additionally, we need to attach the databaseVersion and shardVersion fields to each entry in the nsInfo based on the endpoint returned by the CollectionRoutingInfoTargeter in the targeting step.

            Assignee:
            Vishnu Kaushik
            Reporter:
            Lingzhi Deng
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: