[SERVER-62366] Add forgetShardSplit command Created: 05/Jan/22  Updated: 29/Oct/23  Resolved: 17/Feb/22

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

Type: Task Priority: Major - P3
Reporter: Matt Broadstone Assignee: Mathis Bessa
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Problem/Incident
causes SERVER-63873 Coverity analysis defect 121591: Unch... Closed
Related
related to SERVER-63817 Complete TODO listed in SERVER-62366 Closed
Backwards Compatibility: Fully Compatible
Sprint: Server Serverless 2022-02-07, Server Serverless 2022-02-21
Participants:
Linked BF Score: 184

 Description   

Similar to tenant migrations, shard split will support a "forget" command to signal to the donor that it can garbage collect a finished split operation. Follow the design section for Garbage collecting the state machines from tenant migrations:

  • add a TTL index for state document expiration
  • add a new forgetShardSplit which marks a state machine eligible for garbage collection
  • write tests proving this behavior


 Comments   
Comment by Githook User [ 17/Feb/22 ]

Author:

{'name': 'mathisbessamdb', 'email': 'mathis.bessa@mongodb.com', 'username': 'mathisbessamdb'}

Message: SERVER-62366 Add forgetShardSplit command
Branch: master
https://github.com/mongodb/mongo/commit/909df54290217588dfb01b0942f8ba2cac642bac

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