Uploaded image for project: 'Distributed Transactions C++'
  1. Distributed Transactions C++
  2. TXNCXX-69

Transaction Insert gives out error sometimes

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • None
    • 1.0.0-beta.1
    • 1
    • Unknown
    • SDK40:

    Description

      Similar to TXNCXX-68, We are getting the below error trying to insert a document.

       

      The error is sometimes exactly similar to error in TXNCXX-68, but sometimes giving the below error about LCB_ERR_DOCUMENT_NOT_FOUND:

       

      [2020-10-08 23:21:30.048] [trace] twoInsertsCommitted: calling op
      [2020-10-08 23:21:30.048] [info] first mutated doc in transaction is "e7059535-6196-411c-b70d-7626aa2b4e6e" on vbucket 1005, so using atr "_txn:atr-1005-#18a"
      [2020-10-08 23:21:30.071] [trace] get_callback returning result

      {rc:1040,strerror:*LCB_ERR_KVENGINE_UNKNOWN_ERROR* (1040),cas:22,datatype:,flags:0}

      [2020-10-08 23:21:30.072] [trace] store_callback returning result{rc:1031,strerror:LCB_ERR_KVENGINE_INVALID_PACKET (1031),cas:0,datatype:?,flags:28672}
      [2020-10-08 23:21:30.072] [info] updating atr _txn:atr-1005-#18a
      [2020-10-08 23:21:30.201] [trace] subdoc_callback returning result

      {rc:301,strerror:*LCB_ERR_DOCUMENT_NOT_FOUND* (301),cas:0,datatype:?,flags:0}

      [2020-10-08 23:21:30.201] [trace] caught LCB_ERR_DOCUMENT_NOT_FOUND (301), ec=2
      [2020-10-08 23:21:30.201] [error] got runtime error LCB_ERR_DOCUMENT_NOT_FOUND (301)
      [2020-10-08 23:21:30.201] [info] rolling back
      [2020-10-08 23:21:30.201] [trace] rollback called on txn with no mutations
      [2020-10-08 23:21:30.201] [trace] attempt not started, not adding to cleanup 

       

       

      Attachments

        For Gerrit Dashboard: TXNCXX-69
        # Subject Branch Project Status CR V

        Activity

          People

            david.kelly David Kelly (Inactive)
            praneeth.bokka Praneeth Bokka (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty