[SERVER-43988] shutdown ({force:false}) should refuse to shut down if there is an index build in progress Created: 14/Oct/19 Updated: 29/Oct/23 Resolved: 21/Jan/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Storage |
| Affects Version/s: | None |
| Fix Version/s: | 4.3.3 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Benety Goh | Assignee: | Benety Goh |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | shutdown | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||||||||||
| Sprint: | Execution Team 2020-01-27 | ||||||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||||||
| Linked BF Score: | 0 | ||||||||||||||||||||||||||||||||
| Description |
|
If a user attempts to shut down the server using the shutdown command without the force: true option while there is an index build in progress, we should reject the shutdown request. This reduces the possibility of losing any progress we have made, especially with long running index builds. |
| Comments |
| Comment by Githook User [ 20/Jan/20 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: should refuse to shut down the server if there is an index build in progress |
| Comment by Githook User [ 19/Jan/20 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: lists active index builds |
| Comment by Githook User [ 18/Jan/20 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: |
| Comment by Githook User [ 17/Jan/20 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: create mode 100644 jstests/noPassthrough/index_shutdown_cmd_primary.js |
| Comment by Eric Milkie [ 14/Oct/19 ] |
|
When shutdown is prevented due to this condition, we should make sure the error message has enough information in it to help the user diagnose the problem and to mitigate it. |