[SERVER-72278] Implement `mergeAllChunksOnShard` command paths Created: 20/Dec/22  Updated: 29/Oct/23  Resolved: 20/Jan/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.3.0-rc0

Type: Task Priority: Major - P3
Reporter: Pierlauro Sciarelli Assignee: Silvia Surroca
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-71612 Implement `mergeAllChunksOnShard` in ... Closed
Assigned Teams:
Sharding EMEA
Backwards Compatibility: Fully Compatible
Sprint: Sharding EMEA 2023-01-23
Participants:

 Description   

With the work done under SERVER-71612, the catalog manager will offer a method for merging all non-contiguous sequences of chunks belonging to a given shard for a given collection.

Purpose of this ticket is to create the following commands flow that will end up calling such method on the CSRS:

  • `mergeAllChunksOnShard(nss, shardId)` callable on routers
  • `_shardSvrMergeAllChunksOnShard(nss)` called on shards by routers
  • `_configsvrCommitMergeAllChunksOnShard(nss, shardId)` called on the CSRS by shards


 Comments   
Comment by Githook User [ 20/Jan/23 ]

Author:

{'name': 'Silvia Surroca', 'email': 'silvia.surroca@mongodb.com', 'username': 'silviasuhu'}

Message: SERVER-72278 Implement `mergeAllChunksOnShard` command paths
Branch: master
https://github.com/mongodb/mongo/commit/65b5512fb09ac732826b66c3c6de0ed878751872

Generated at Thu Feb 08 06:21:19 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.