[SERVER-61114] Refactor TenantMigrationDonorAccessBlocker::getCanReadFuture to make it easier to understand Created: 29/Oct/21  Updated: 29/Oct/23  Resolved: 04/Nov/21

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

Type: Task Priority: Major - P3
Reporter: Esha Maharishi (Inactive) Assignee: Sophia Tan
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Server Serverless 2021-11-01, Server Serverless 2021-11-15
Participants:

 Description   

Rewrite TenantMigrationDonorAccessBlocker::getCanReadFuture as a switch statement, similar to TenantMigrationDonorAccessBlocker::checkIfCanWrite, to make it easier to understand.



 Comments   
Comment by Githook User [ 03/Nov/21 ]

Author:

{'name': 'Sophia Tan', 'email': 'sophia_tll@hotmail.com', 'username': 'sophiatll'}

Message: SERVER-61114 Refactor getCanReadFuture for easier to understand
Branch: master
https://github.com/mongodb/mongo/commit/582e4151293d773c2de9fde20cc4726f79829ec0

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