- insert gets targeted to right shard
- update gets targeted to right shard
- delete gets targeted to right shard
- insert gets targeted to right shard during migration
- update gets targeted to right shard during migration
- delete gets targeted to right shard during migration
- insert gets targeted to right shard during migration (2PC)
- update gets targeted to right shard during migration (2PC)
- delete gets targeted to right shard during migration (2PC)
- findAndModify gets targeted to right shard
- find gets targeted to right shard
- find with readConcern snapshot that will be targeted differently in the current snapshot gets correctly targeted
- _getNextSessionMods correctly filters out unrelated documents during migration
- right documents get moved in moveChunk
- right documents get deleted by rangeDeleter
- ShardFilterStage works correctly
- $merge sends results to the right shard (existing test doesn't really check proper targetting)
- Can merge chunks
Note: most existing tests kind of indirectly test these via passthrough or aggregated testing (like checking count of documents, instead of targetted tests)
- related to
-
SERVER-44003 Create a test plan for hashed sharding
- Closed
- split to
-
SERVER-44411 Test that insert/update/delete/findAndModify for hashed sharded collections targets the right shards
- Closed
-
SERVER-44412 Test that _getNextSessionMods for hashed sharded collections correctly filters out unrelated documents during migration
- Closed
-
SERVER-44413 Test mergeChunk in hashed sharding
- Closed
-
SERVER-44535 Test moveChunk and rangeDeleter in hashed sharding
- Closed
-
SERVER-44536 Test that $merge sends results to the right shards in hashed sharding
- Closed
-
SERVER-44552 Test that ShardFilterStage filters out orphaned documents
- Closed
-
SERVER-44561 Test that find with readConcern snapshot targets the right shards in hashed sharding
- Closed