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

Orphan blank documents are created if Transaction Crashes

    XMLWordPrintable

Details

    • Untriaged
    • Centos 64-bit
    • 1
    • Unknown

    Description

      I started writing 500 docs to the cluster in a transaction with durability set to Majority and brought down 1 node (3 node dev cluster). After the expiry timeout, CB realized that transaction had failed and looking at the logs, it tried to roll back and delete all the empty docs. However, looks like it could not delete them due to DurabilityImpossibleException and gave up. Now I have 109 empty docs in the bucket! (logs attached). This violates the very definition of Atomicity! CB should firstly not create those empty docs. Even if does, it should be able to rollback all docs that were created if a node goes down and transaction times out irrespective of durability guarantees.  

      Attachments

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

        Activity

          People

            graham.pople Graham Pople
            amrish_raje@infosys.com Amrish Raje
            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