Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-43983

No Such Transaction

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: Major - P3 Major - P3
    • None
    • 4.2.0
    • Sharding
    • None
    • ALL
    • Hide

      Start a transaction  in java application using java mongo driver's method 

      session.startTransaction()

      and then stop the application process on purpose in the middle. 

      and then restart the app and start another transaction. 

      and the abort transaction happens automatically, 

      Show
      Start a transaction  in java application using java mongo driver's method  session.startTransaction() and then stop the application process on purpose in the middle.  and then restart the app and start another transaction.  and the abort transaction happens automatically, 

    Description

      2019-10-13T22:20:36.753-0400 I COMMAND [conn3342] command BESPIN.AwsBillingDaily_1 command: delete \{ delete: "AwsBillingDaily_1", ordered: true, $db: "BESPIN", $clusterTime: { clusterTime: Timestamp(1571019627, 1), signature: { hash: BinData(0, 663871C3301BAF22C036E131D8FF4BBF57F3DD12), keyId: 6743826200705105950 } }, lsid: \{ id: UUID("8595004d-f6b1-4177-9b06-449e2f3a0088") }, txnNumber: 1, startTransaction: true, readConcern: \{ level: "local" }, autocommit: false } numYields:0 ok:0 errMsg:"Transaction 8595004d-f6b1-4177-9b06-449e2f3a0088:1 was aborted on statement 0 due to: an error from cluster data placement change :: caused by :: Encountered error from 10.251.245.205:27017 during a transaction :: caused by :: epoch mismatch detected for BESPIN.AwsBillingDaily_1, the collection may have been dropped and recreated" errName:StaleConfig errCode:13388 reslen:717 protocol:op_msg 1049ms
      2019-10-13T22:20:36.754-0400 I COMMAND [conn3344] command BESPIN.AwsBillingMonthly_1 command: delete \{ delete: "AwsBillingMonthly_1", ordered: true, $db: "BESPIN", $clusterTime: { clusterTime: Timestamp(1571019627, 1), signature: { hash: BinData(0, 663871C3301BAF22C036E131D8FF4BBF57F3DD12), keyId: 6743826200705105950 } }, lsid: \{ id: UUID("8595004d-f6b1-4177-9b06-449e2f3a0088") }, txnNumber: 1, autocommit: false } numYields:0 ok:0 errMsg:"Encountered error from 10.251.245.98:27017 during a transaction :: caused by :: Transaction 1 has been aborted." errName:NoSuchTransaction errCode:251 reslen:380 protocol:op_msg 999ms
      

      Attachments

        Activity

          People

            daniel.hatcher@mongodb.com Danny Hatcher (Inactive)
            yeongseok.kim@bespinglobal.com yeongseok kim
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: