[SERVER-46937] Aggregation stage serverStatus counters incorrectly count update pipelines Created: 18/Mar/20 Updated: 29/Oct/23 Resolved: 14/Apr/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 4.4.0-rc2, 4.7.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Mihai Andrei | Assignee: | Mihai Andrei |
| 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: |
v4.4
|
||||||||
| Sprint: | Query 2020-03-23, Query 2020-04-06, Query 2020-04-20 | ||||||||
| Participants: | |||||||||
| Description |
|
At present, the counters for pipeline-style updates are increment once per executed update statement , and not once per pipeline as one would expect. Moreover, since some stages like $merge with subpipelines execute update statements, this results in the update stages within said subpipleines being counted multiple times for each update being executed. A potential solution is to increment the stage counters when an update command is first received in the command layer. |
| Comments |
| Comment by Githook User [ 15/Apr/20 ] |
|
Author: {'name': 'Mihai Andrei', 'email': 'mihai.andrei@10gen.com', 'username': 'mtandrei'}Message: (cherry picked from commit 1740d32001cf77ce0dab6a1b1ec14d4b5be8bfef) |
| Comment by Githook User [ 14/Apr/20 ] |
|
Author: {'name': 'Mihai Andrei', 'email': 'mihai.andrei@10gen.com', 'username': 'mtandrei'}Message: |