Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-35428

Add the ability to add two OpDebug objects together

    • Fully Compatible
    • v4.0
    • Repl 2018-07-02

      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).

            Assignee:
            jinny.byun Jinny Byun
            Reporter:
            william.schultz@mongodb.com William Schultz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: