[SERVER-61772] Implement tenant access blocking for the split service Created: 29/Nov/21  Updated: 29/Oct/23  Resolved: 21/Jan/22

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

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

Issue Links:
Problem/Incident
causes SERVER-66361 Address data race involving Replicati... Closed
Related
related to SERVER-62954 fix macos dyld limit Closed
Backwards Compatibility: Fully Compatible
Sprint: Server Serverless 2021-12-13, Server Serverless 2021-12-27, Server Serverless 2022-01-10, Server Serverless 2022-01-24
Participants:
Linked BF Score: 69

 Description   

This ticket covers the work to block (and later reject) operations for tenants being split. Generally:

  • Make multiple TenantMigrationDonorAccessBlocker's for each tenant being split
  • Make a new ShardSplitOpObserver to drive the access blockers
  • Integrate the blocking code into the existing ShardSplitDonorService to choose a blockTimestamp and update the state document

 

Proposed implementation :

https://docs.google.com/document/d/1C_6FNPfXr4_BUMyEBcbbG8gtYA8Y4Rrxzfd-2DAEcc4/edit?usp=sharing



 Comments   
Comment by Githook User [ 21/Jan/22 ]

Author:

{'name': 'Didier Nadeau', 'email': 'didier.nadeau@mongodb.com', 'username': 'nadeaudi'}

Message: SERVER-61772 Implement tenant access blocker for shard split
Branch: master
https://github.com/mongodb/mongo/commit/2d7b08d3de39c4d4c0f97ea7c6664eb317de5f4f

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