[SERVER-67840] Improve tenant_migration_access_blocker::startRejectingReadsBefore() Created: 07/Jul/22 Updated: 27/Oct/23 Resolved: 25/Aug/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Suganthi Mani | Assignee: | Christopher Caplinger |
| Resolution: | Gone away | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: |
| Description |
|
tenant_migration_access_blocker::startRejectingReadsBefore() has migrationId argument which is currently unused. We should start using that argument inside this callback to make sure we only modify the recipient mtabs whose migration id matches the given migrationID. |
| Comments |
| Comment by Suganthi Mani [ 07/Jul/22 ] |
|
nit: Also as part of this ticket, we should change the 3rd argument type as Timestamp and no need to explicitly say as mongo::Timestamp |