[SERVER-44411] Test that insert/update/delete/findAndModify for hashed sharded collections targets the right shards Created: 04/Nov/19  Updated: 29/Oct/23  Resolved: 07/Nov/19

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 4.3.1

Type: Improvement Priority: Major - P3
Reporter: Cheahuychou Mao Assignee: Cheahuychou Mao
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Issue split
split from SERVER-44299 Add tests for hashed shard key Closed
Backwards Compatibility: Fully Compatible
Sprint: Sharding 2019-11-18
Participants:

 Description   

Add tests to check that:

  • 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


 Comments   
Comment by Githook User [ 07/Nov/19 ]

Author:

{'username': 'cheahuychou', 'email': 'cheahuychou.mao@mongodb.com', 'name': 'Cheahuychou Mao'}

Message: SERVER-44411 Test that insert/update/delete/findAndModify for hashed sharded collections targets the right shards
Branch: master
https://github.com/mongodb/mongo/commit/aefce507386045fe6a77eebcbec567000a6a98e5

Comment by Cheahuychou Mao [ 07/Nov/19 ]

Code review url: https://mongodbcr.appspot.com/532260072/

Generated at Thu Feb 08 05:05:54 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.