[SERVER-39419] Stepdown interrupting a running dropDatabase command could leave unclean state Created: 07/Feb/19 Updated: 29/Oct/23 Resolved: 13/Mar/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Storage |
| Affects Version/s: | None |
| Fix Version/s: | 4.1.9 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Xiangyu Yao (Inactive) | Assignee: | Gregory Wlodarek |
| 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 | ||||||||||||||||||||
| Sprint: | Storage NYC 2019-03-25 | ||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Linked BF Score: | 51 | ||||||||||||||||||||
| Story Points: | 3 | ||||||||||||||||||||
| Description |
|
As the comment in the linked BF describes, a stepdown could interrupt a running dropDatabase and leave the dropPending true on that database. |
| Comments |
| Comment by Githook User [ 13/Mar/19 ] |
|
Author: {'name': 'Gregory Wlodarek', 'username': 'GWlodarek', 'email': 'gregory.wlodarek@mongodb.com'}Message: |
| Comment by Eric Milkie [ 12/Mar/19 ] |
|
Solution will be to remove the logic check that assumes dropPending can never be true when we are about to set it to true. |