No Such Transaction

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Incomplete
    • Priority: Major - P3
    • None
    • Affects Version/s: 4.2.0
    • Component/s: 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, 
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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
      

            Assignee:
            Danny Hatcher (Inactive)
            Reporter:
            yeongseok kim
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: