[SERVER-59727] TenantMigrationAccessBlockerRegistry::_remove doesn't remove when both mtabs are present Created: 01/Sep/21  Updated: 29/Oct/23  Resolved: 20/Sep/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.0.4, 5.1.0-rc0

Type: Bug Priority: Major - P3
Reporter: Matthew Russotto Assignee: Matthew Russotto
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v5.0
Sprint: Repl 2021-09-20, Repl 2021-10-04
Participants:
Linked BF Score: 132

 Description   

    auto mtabPair = it->second;
    mtabPair.clearAccessBlocker(type);

creates a copy of the mtabPair and then clears the access blocker on the copy. It then goes and removes the entire pair if both are removed, but that might not be the case.



 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 04/Oct/21 ]

Author:

{'name': 'Matthew Russotto', 'email': 'matthew.russotto@mongodb.com', 'username': 'mtrussotto'}

Message: SERVER-59727 TenantMigrationAccessBlockerRegistry::_remove doesn't remove when both mtabs are present

(cherry picked from commit a444c63c396129836c6a5f230a465e9cc651e921)
Branch: v5.0
https://github.com/mongodb/mongo/commit/720da097a8a9f194438ccef4a465960118c70392

Comment by Githook User [ 15/Sep/21 ]

Author:

{'name': 'Matthew Russotto', 'email': 'matthew.russotto@mongodb.com', 'username': 'mtrussotto'}

Message: SERVER-59727 TenantMigrationAccessBlockerRegistry::_remove doesn't re…
Branch: master
https://github.com/mongodb/mongo/commit/a444c63c396129836c6a5f230a465e9cc651e921

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