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

ACID Transaction - Empty documents are not rolled back if thread crashes

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • None
    • 6.5.0
    • clients
    • None
    • CB 6.5.0 on RHEL 7.7
    • Untriaged
    • Centos 64-bit
    • 1
    • Unknown

    Description

      ACID Transaction creates blank documents on server before commit. If the App crashes before commit - I simulated a app crash by hitting CTRL+C and stopping the java app before it issued commit - all blank docs remain on the server as orphaned docs with empty body. CB needs to roll back these docs if a commit is not done irrespective of what happens to the app thread. App do crash and a crash should not leave the DB is a inconsistent state. 

      Attachments

        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:

              PagerDuty