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

Better error msg with transactions and enableMajorityReadConcern = false

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.11
    • Affects Version/s: None
    • Component/s: Diagnostics
    • Labels:
    • Fully Compatible
    • Repl 2019-04-22

      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

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

              Created:
              Updated:
              Resolved: