[SERVER-55652] dbStats command can fail if an index is bulk loading Created: 30/Mar/21 Updated: 29/Oct/23 Resolved: 16/Aug/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Catalog |
| Affects Version/s: | None |
| Fix Version/s: | 5.1.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Eric Milkie | Assignee: | Benety Goh |
| 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 | ||||||||||||||||||||
| Steps To Reproduce: | 1. Add a pause to the WiredTigerIndex::BulkBuilder::openBulkCursor after a cursor has been successfully opened.
|
||||||||||||||||||||
| Sprint: | Execution Team 2021-08-23 | ||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Description |
|
Part of the dbStats command is to collect index sizes, which attempts to open a statistics cursor on every index table. This can fail if an index table happens to be locked with a bulk-index-load cursor. Note that we should probably audit all places that iterate through indexes like this and ensure all of them are prepared for such an error to be returned from a statistics cursor (simply skipping over such indexes sounds reasonable). |
| Comments |
| Comment by Vivian Ge (Inactive) [ 06/Oct/21 ] |
|
Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you! |
| Comment by Githook User [ 14/Aug/21 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: This makes WiredTigerIndex::getFreeStorageBytes() more consistent with See commits 989d23805572e6db103b64f3de76ffa7359a00cd and d368f071651856039f2637202c122b1a55a44142. |
| Comment by Githook User [ 13/Aug/21 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: |