[SERVER-35428] Add the ability to add two OpDebug objects together Created: 05/Jun/18 Updated: 29/Oct/23 Resolved: 03/Jul/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Diagnostics, Replication |
| Affects Version/s: | None |
| Fix Version/s: | 4.0.2, 4.1.1 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | William Schultz (Inactive) | Assignee: | Jinny Byun |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | per-txn-metrics | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Backport Requested: |
v4.0
|
||||||||||||
| Sprint: | Repl 2018-07-02 | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
To support the use of the OpDebug structure for tracking aggregate statistics inside transaction, we need a way to add together one OpDebug object to another. We should be able to do this by adding a OpDebug::add method that accepts an OpDebug object, and adds together any applicable fields for each object. Some fields that are not numeric in nature should not be added together, and should likely just retain the value of the original OpDebug object (the non-argument object). |
| Comments |
| Comment by Githook User [ 15/Aug/18 ] |
|
Author: {'username': 'jinichu', 'email': 'jinnybyun@gmail.com', 'name': 'jinichu'}Message: (cherry picked from commit 4ce2c25a29ca1442ae3f81777d8251cf5368ee22) |
| Comment by Githook User [ 03/Jul/18 ] |
|
Author: {'username': 'jinichu', 'name': 'jinichu', 'email': 'jinnybyun@gmail.com'}Message: |