[SERVER-51681] Make blocking callbacks in migrationConflictHandler async Created: 16/Oct/20  Updated: 27/Oct/23  Resolved: 16/Feb/21

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

Type: Improvement Priority: Major - P3
Reporter: Amirsaman Memaripour Assignee: Amirsaman Memaripour
Resolution: Gone away Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Participants:

 Description   

To provide a futurized replacement for migrationConflictHandler, we need to replace the following blocking callbacks with non-blocking counterparts:

  • checkIfCanReadOrBlock(opCtx, dbName)
  • checkIfCanWriteOrBlock(opCtx)

The non-blocking counterparts will return Future<void> as the return value.


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