[SERVER-51748] TenantMigrationRecipientService::Instance::_shutdownComponents() should not create opCtx if the client already has opCtx. Created: 19/Oct/20 Updated: 29/Oct/23 Resolved: 17/Nov/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | None |
| Fix Version/s: | 4.9.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Suganthi Mani | Assignee: | Suganthi Mani |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | pm-1791_milestone-B | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Operating System: | ALL | ||||||||||||
| Sprint: | Repl 2020-11-02, Repl 2020-11-16, Repl 2020-11-30 | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
Here we should create opCtx only if the client doesn't contain an opCtx, Otherwise it leads to invariant failure (Eg. shutdown (signalHandler thread) calls interrupt()). |
| Comments |
| Comment by Githook User [ 17/Nov/20 ] |
|
Author: {'name': 'Suganthi Mani', 'email': 'suganthi.mani@mongodb.com', 'username': 'smani87'}Message: |