[SERVER-57474] profile_operation_metrics.js not resilient to query yielding Created: 04/Jun/21 Updated: 29/Oct/23 Resolved: 15/Jul/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 5.0.0, 5.1.0 |
| Fix Version/s: | 5.0.2, 5.1.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Gregory Wlodarek | 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 | ||||||||||||||||
| Backport Requested: |
v5.0
|
||||||||||||||||
| Sprint: | Execution Team 2021-06-28, Execution Team 2021-07-12, Execution Team 2021-07-26 | ||||||||||||||||
| Participants: | |||||||||||||||||
| Linked BF Score: | 152 | ||||||||||||||||
| Description |
|
When running profile_operation_metrics.js, it's possible for queries to yield. Each yield results in the cursorSeeks metric being incremented. There's a build failure on the debug variants experiencing this behaviour, specifically the findIxScanAndFetch test in profile_operation_metrics.js. On a successful run, where there's no yielding, there are 2 cursorSeeks. This is what the test expects.
But when there's a yield, there are 3 cursorSeeks, causing the test to fail.
|
| 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 [ 23/Jul/21 ] |
|
Author: {'name': 'Gregory Wlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'username': 'GWlodarek'}Message: (cherry picked from commit cd1dde2d12606e2a5496bb5aad72ad1d0aa891d4) |
| Comment by Githook User [ 15/Jul/21 ] |
|
Author: {'name': 'Gregory Wlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'username': 'GWlodarek'}Message: |
| Comment by Gregory Wlodarek [ 07/Jun/21 ] |
|
This test will be disabled by |