[SERVER-51794] collStats should consider index visibility in relation to its snapshot Created: 21/Oct/20 Updated: 29/Oct/23 Resolved: 23/Oct/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Storage |
| Affects Version/s: | None |
| Fix Version/s: | 4.9.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Benety Goh | 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 | ||||||||
| Sprint: | Execution Team 2020-11-02 | ||||||||
| Participants: | |||||||||
| Description |
|
The collStats command includes information about in-progress index builds in its results. It compares the in-memory state from the IndexCatalog with the on-disk state using the DurableCatalog interface to see if an index is available for queries or it is still building. The current collStats implementation does not determine if an index is visible in the current snapshot before querying the on-disk state. A similar issue affecting $indexStats was discussed and subsequently addressed in |
| Comments |
| Comment by Githook User [ 23/Oct/20 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: |