[SERVER-78751] $collStats should check for presence of time series options rather than relying on namespace checks Created: 06/Jul/23 Updated: 29/Oct/23 Resolved: 13/Jul/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.1.0-rc0, 7.0.0-rc8, 5.0.20, 6.0.9 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Dan Larkin-York | Assignee: | Dan Larkin-York |
| 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: |
v7.0, v6.0, v5.0
|
||||||||
| Steps To Reproduce: |
|
||||||||
| Sprint: | Execution NAMR Team 2023-07-10, Execution NAMR Team 2023-07-24 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 105 | ||||||||
| Description |
|
It appears that when collecting collection statistics for a collection A, we check to see if system.buckets.A exists, and if so, assume that A is the view associated with time series collection system.buckets.A. However, it's possible to create a regular collection on such a namespace, and for this to prevent us from properly collecting stats on A. |
| Comments |
| Comment by Githook User [ 28/Jul/23 ] |
|
Author: {'name': 'Dan Larkin-York', 'email': 'dan.larkin-york@mongodb.com', 'username': 'dhly-etc'}Message: (cherry picked from commit e12c0052b9176ab45dce43a15f67b718976eb88d) |
| Comment by Githook User [ 26/Jul/23 ] |
|
Author: {'name': 'Dan Larkin-York', 'email': 'dan.larkin-york@mongodb.com', 'username': 'dhly-etc'}Message: (cherry picked from commit e12c0052b9176ab45dce43a15f67b718976eb88d) |
| Comment by Githook User [ 14/Jul/23 ] |
|
Author: {'name': 'Dan Larkin-York', 'email': 'dan.larkin-york@mongodb.com', 'username': 'dhly-etc'}Message: (cherry picked from commit e12c0052b9176ab45dce43a15f67b718976eb88d) |
| Comment by Githook User [ 13/Jul/23 ] |
|
Author: {'name': 'Dan Larkin-York', 'email': 'dan.larkin-york@mongodb.com', 'username': 'dhly-etc'}Message: |