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

HashTable datatype counts are incorrect after softDelete

    XMLWordPrintable

Details

    • Untriaged
    • Unknown

    Description

      During investigation of MB-25991, issues were also discovered with the counts of the datatypes in a HashTable. By turning on checks that datatype counters do not underflow, a number of bugs have been found:

      • HashTable::unlocked_updateStoredValue - Only updates count if the datatype has changed; however it should also update if the deleted state has changed.
      • HashTable::unlocked_addNewStoredValue / unlocked_replaceByCopy / unlocked_softDelete / unlocked_release - Incorrectly updates for deleted items (should only be for non-deleted items).

      Attachments

        Issue Links

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

          Activity

            People

              drigby Dave Rigby (Inactive)
              drigby Dave Rigby (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty