[SERVER-53505] Refactor tenant_migration_donor_util::checkIfCanReadOrBlock() to be fully asynchronous Created: 23/Dec/20  Updated: 29/Oct/23  Resolved: 25/Feb/21

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

Type: Improvement Priority: Major - P3
Reporter: Andrew Shuvalov (Inactive) Assignee: Andrew Shuvalov (Inactive)
Resolution: Fixed Votes: 0
Labels: pm-1791_non-cloud-blocking, pm-1791_polish
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-52783 [cleanup] Make tenant_migration_donor... Closed
Backwards Compatibility: Fully Compatible
Sprint: Sharding 2021-01-25, Sharding 2021-02-22, Sharding 2021-03-08
Participants:

 Description   

This is the second step of refactoring that changes the tenant_migration_donor_util::checkIfCanReadOrBlock() method from condition variable to Future.

Part of this ticket is to properly handle the transfer of the thread local data to another thread.



 Comments   
Comment by Githook User [ 24/Feb/21 ]

Author:

{'name': 'Andrew Shuvalov', 'email': 'andrew.shuvalov@mongodb.com', 'username': 'shuvalov-mdb'}

Message: SERVER-53505: make the tenant migration access blocker use in InvokeCommand more asynchronous
Branch: master
https://github.com/mongodb/mongo/commit/68ecdc716c77aaef860571d77cc65542bbf5d094

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