Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-62629

GROUP AS payload not correctly included in spilled map element sizes

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • Morpheus
    • 7.6.0, Morpheus
    • query
    • None
    • Untriaged
    • 0
    • Unknown

    Description

      When appending to the GROUP AS payload array we account for the increased size in the total size of the group's map, but not in the individual element sizes.  This means that when spilled/restored we're not correctly accounting for the size.  This leaves us with an inflated total which is the basis for further spilling - and we end up using a large number of tiny spill files, which we shouldn't be doing.  By correctly accounting for the adjusted size in the individual elements we remove the impediment to the correct functioning of the spill logic.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Donald.haggart Donald Haggart
            Donald.haggart Donald Haggart
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty