KeyString::Value should report its memory usage as the total buffer capacity

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.3.1
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • Execution Team 2019-09-09
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The external sorted uses memUsageForSorter to estimate when to spill to disk.

      KeyString::Value should report its memory usage as the total capacity of the underlying SharedBuffer rather than the number of bytes used out of the entire buffer length.

      This will probably require adding a "capacity()" function to ConstSharedBuffer to access into its underlying SharedBuffer.

              Assignee:
              Louis Williams
              Reporter:
              Louis Williams
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: