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

`index_commands_shard_targeting.js` should be comparing shard version, not collection version

    • Catalog and Routing
    • Fully Compatible
    • ALL
    • CAR Team 2024-11-11

      `index_commands_shard_targeting.js` test sets up a sharded cluster and distributes the chunks, ensuring that the primary shard receives no chunks. It then performs several operations, such as `createIndexes` and `dropIndexes`, and checks that the shard version of the primary shard remains unchanged.

      Currently, it checks the collection placement version, which reflects the maximum shard version across all shards that the db primary shard knows.

      However, this test needs to check the shard version of the db primary shard instead of the collection placement version.

            Assignee:
            pol.pinol@mongodb.com Pol Pinol
            Reporter:
            pol.pinol@mongodb.com Pol Pinol
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: