[SERVER-42392] Add CRUD ops and moveChunk concurrency testing for refineCollectionShardKey Created: 24/Jul/19  Updated: 29/Oct/23  Resolved: 17/Oct/19

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

Type: Task Priority: Major - P3
Reporter: Jack Mulrow Assignee: Blake Oler
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by SERVER-43684 Include name of collection in the ass... Closed
Gantt Dependency
has to be done after SERVER-42143 Convert refineCollectionShardKey meta... Closed
Backwards Compatibility: Fully Compatible
Sprint: Sharding 2019-08-26, Sharding 2019-09-09, Sharding 2019-09-23, Sharding 2019-10-07, Sharding 2019-10-21
Participants:

 Description   

Concurrency tests for refining a collection shard key should be added to verify a refine atomically takes effect and does not interfere with concurrent chunk operations.

In particular, workloads should be added that:

  1. Repeatedly refine a collections shard key with concurrent CRUD ops, verifying the ops always return the expected results
  2. Repeatedly refines a shard key with concurrent chunk operations (moveChunks, splitChunks, and mergeChunks) in addition to concurrent CRUD ops.

In addition to the default concurrency suites, these workloads should run in suites with the balancer enabled and failovers. It should be verified that the balancer will actually attempt to move chunks, possibly enforced by inserting enough data to imbalance the cluster, beginning with lopsided zones, and/or adding fsm stages that explicitly wait for a balancer round.



 Comments   
Comment by Githook User [ 17/Oct/19 ]

Author:

{'name': 'Blake Oler', 'username': 'BlakeIsBlake', 'email': 'blake.oler@mongodb.com'}

Message: SERVER-42392 Create concurrency workloads that combine moveChunk, refineCollectionShardKey, and transaction operations
Branch: master
https://github.com/mongodb/mongo/commit/ba799a620d8a93f4bcf2bfc450918810c734039e

Comment by Githook User [ 22/Aug/19 ]

Author:

{'username': 'JamesHeppenstall', 'email': 'jamie.heppenstall@mongodb.com', 'name': 'Jamie Heppenstall'}

Message: SERVER-42392 Add concurrency testing for refineCollectionShardKey
Branch: master
https://github.com/mongodb/mongo/commit/1f802f416682510f18610cd58dabb34074710347

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