Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-102697

Add test for clusterWriteWithoutShard key to rawData explain findAndModify

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 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
    • 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@mongodb.com Malik Endsley
            Reporter:
            malik.endsley@mongodb.com Malik Endsley
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: