Skip updating dataSize increase in updates if they don't modify the number

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.1.0-rc0, 7.0.0-rc2
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • v7.0
    • Execution Team 2023-05-01
    • 122
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      When performing updates we always update the dataSize metric with the difference in size of the new and old entries. This performs some atomic arithmetic and performs a heap allocation for rollback handling to revert the arithmetic performed.

      If the update doesn't modify the size, the metrics will be incremented/decremented by 0 so all of this is unnecessary.

              Assignee:
              Jordi Olivares Provencio
              Reporter:
              Jordi Olivares Provencio
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: