[SERVER-46984] Stop async updates to the oplogTruncateAfterPoint during primary server shutdown prior to clearing the oplogTruncateAfterPoint Created: 19/Mar/20 Updated: 29/Oct/23 Resolved: 20/Mar/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Storage |
| Affects Version/s: | None |
| Fix Version/s: | 4.4.0-rc0, 4.7.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Dianna Hohensee (Inactive) | Assignee: | Dianna Hohensee (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||
| Operating System: | ALL | ||||||||||||||||||||
| Backport Requested: |
v4.4
|
||||||||||||||||||||
| Sprint: | Execution Team 2020-03-23, Execution Team 2020-04-06 | ||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Linked BF Score: | 0 | ||||||||||||||||||||
| Description |
|
On replication stepdown we clear the stop the async updates to the oplogTruncateAfterPoint and then null the value here. On shutdown while primary, we clear the oplogTruncateAfterPoint here. However, we do not stop the async updates to the oplogTruncateAfterPoint on primary shutdown, so the async thread can set the oplogTruncateAfterPoint again before shutdown completes. |
| Comments |
| Comment by Githook User [ 20/Mar/20 ] |
|
Author: {'email': 'dianna.hohensee@mongodb.com', 'name': 'Dianna Hohensee', 'username': 'DiannaHohensee'}Message: (cherry picked from commit 5f3e1db10472fcd57615424c10372444a2c8427f) |
| Comment by Githook User [ 20/Mar/20 ] |
|
Author: {'email': 'dianna.hohensee@mongodb.com', 'name': 'Dianna Hohensee', 'username': 'DiannaHohensee'}Message: |