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

Allow abortTransaction or commitTransaction as first statement in transaction

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.7.6
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Fully Compatible
    • Repl 2018-04-23, Repl 2018-05-07

      Unable to find source-code formatter for language: javascript. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
      session.startTransaction({readConcern: {level: "snapshot"}})
      session.abortTransaction()
      
      [js] Error: command failed: {
              "operationTime" : Timestamp(1522790291, 1),
              "ok" : 0,
              "errmsg" : "Command does not support read concern { readConcern: { level: \"snapshot\" } }",
              "code" : 72,
              "codeName" : "InvalidOptions",
              "$clusterTime" : {
                      "clusterTime" : Timestamp(1522790291, 1),
                      "signature" : {
                              "hash" : BinData(0,"AAAAAAAAAAAAAAAAAAAAAAAAAAA="),
                              "keyId" : NumberLong(0)
                      }
              }
      } :
      

            Assignee:
            pavithra.vetriselvan@mongodb.com Pavithra Vetriselvan
            Reporter:
            xiangyu.yao@mongodb.com Xiangyu Yao (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: