[SERVER-44586] add metrics to serverStatus to track type of update command Created: 12/Nov/19 Updated: 29/Oct/23 Resolved: 21/Jul/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Write Ops |
| Affects Version/s: | None |
| Fix Version/s: | 4.7.0, 4.4.2, 4.2.11 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Asya Kamsky | Assignee: | Mindaugas Malinauskas |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | qexec-team | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Backport Requested: |
v4.4, v4.2
|
||||||||||||
| Sprint: | Query 2020-07-13, Query 2020-07-27 | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
Currently serverStatus command includes number of update commands run, and number of documents updated. It would be great to have separately the number of update commands that used pipeline (as opposed to document) syntax to specify update transformation. |
| Comments |
| Comment by Githook User [ 13/Oct/20 ] |
|
Author: {'name': 'Mindaugas Malinauskas', 'email': 'mindaugas.malinauskas@mongodb.com'}Message: (cherry picked from commit d54afba70a6f028dd68878c03228091bea476176) |
| Comment by Githook User [ 11/Sep/20 ] |
|
Author: {'name': 'Mindaugas Malinauskas', 'email': 'mindaugas.malinauskas@mongodb.com'}Message: (cherry picked from commit d54afba70a6f028dd68878c03228091bea476176) |
| Comment by David Storch [ 21/Jul/20 ] |
|
Requesting backport to 4.4. It would be nice to gather this information as users start to adopt 4.4. |
| Comment by Githook User [ 21/Jul/20 ] |
|
Author: {'name': 'Mindaugas Malinauskas', 'email': 'mindaugas.malinauskas@mongodb.com'}Message: |
| Comment by Bruce Lucas (Inactive) [ 15/Jul/20 ] |
|
Thanks, that makes sense. |
| Comment by Asya Kamsky [ 15/Jul/20 ] |
|
bruce.lucas the idea is that total would be unchanged so total already includes them. single failed covers all so the answer to both of your questions is "yes". |
| Comment by Bruce Lucas (Inactive) [ 15/Jul/20 ] |
|
mindaugas.malinauskas, I have some questions about the proposed design -
|