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

Better error msg with transactions and enableMajorityReadConcern = false

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.1.11
    • None
    • Diagnostics
    • Fully Compatible
    • Repl 2019-04-22

    Description

      So, when running transactions against a sharded clusters where enableMajorityReadConcern is turned off, I get the following error message

      pymongo.errors.OperationFailure: Encountered error from Kays-MacBook-Pro-2.local:27018 during a transaction :: caused by :: 'atClusterTime' is not supported when enableMajorityReadConcern=false

      Could we make it clearer that this means
      Sharded transaction is not supported when enableMajorityReadConcern=false

      Attachments

        Activity

          People

            tess.avitabile@mongodb.com Tess Avitabile (Inactive)
            kay.kim@mongodb.com Kay Kim (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: