Add test for clusterWriteWithoutShard key to rawData explain findAndModify

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • Fully Compatible
    • Storage Execution 2025-03-31, Storage Execution 2025-04-14, Storage Execution 2025-04-28
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Write explains have two main code paths, each with their own translation logic. FindAndModify's clusterWriteWithoutShardKey code path requires extra work to cause "organically," the chunks of the bucket collection must exist across multiple shards. This might be achievable "organically" if enough data is put into the collection causing another shard to be created and migrated by the balancer. The test conditions can also be manually set up to get the same coverage.

              Assignee:
              Malik Endsley
              Reporter:
              Malik Endsley
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: