[SERVER-45670] ReplicaSetMonitor methods must clear ScanState on shutdown Created: 21/Jan/20 Updated: 29/Oct/23 Resolved: 22/Jan/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 4.3.3 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Amirsaman Memaripour | Assignee: | Amirsaman Memaripour |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Participants: | |||||
| Linked BF Score: | 19 | ||||
| Description |
|
This relates to #BF-15843 – `hostsToScan` is non-empty when calling `ScanState::enqueAllUntriedHosts` (here). Potential fix is to ensure `` clears `hostsToScan` before returning. This could not be the case during a shutdown event (here). |
| Comments |
| Comment by Githook User [ 22/Jan/20 ] |
|
Author: {'name': 'Amirsaman Memaripour', 'email': 'amirsaman.memaripour@10gen.com'}Message: |