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

magma_stress Compaction not updating UserStats atomically

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Major
    • 7.6.0
    • 7.1.4, 7.1.0, 7.1.1, 7.1.2, 7.2.0, 7.1.3
    • storage-engine

    Description

      In magma_stess (a test-only non-shipping program), the compaction transaction to UserStats was patterned after how kv maintains UserStats but that method is broken when there are injected IO Errors. Rather than attempt to maintain UserStats as part of the compaction callback, we need to add a UserStats Write Operation to the end txn that cleans up and removes the dropped collection updates. The fix is trivial and has been well tested.

      Attachments

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

        Activity

          People

            scott.lashley Scott Lashley (Inactive)
            scott.lashley Scott Lashley (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