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

Delay the cleanup of CreateCommandTokens in metakv

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Critical
    • Morpheus
    • Cheshire-Cat
    • secondary-index
    • None
    • Untriaged
    • 1
    • Unknown

    Description

      As mentioned in MB-46058, there can be a race condition in handling updates and deletes for the same key. It is safe to delay the key deletions.

      1. Avoid CreateCommandToken cleanup during token processing.
      2. Implement periodic cleanup of CreateCommandTokens
      3. Delay the CreateCommandToken cleanup by 10 min / 30 mins.
      4. Cleanup the partial tokens - after 6 hours / 24 hours.

      Attachments

        Issue Links

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

          Activity

            People

              amit.kulkarni Amit Kulkarni
              amit.kulkarni Amit Kulkarni
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty