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

setIgnorePrepared() is not supported by other storage engines

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Storage
    • Labels:
      None
    • ALL
    • Hide

      Running secondary_reads.js from concurrency_replication suite locally could reproduce this issue.

      Show
      Running secondary_reads.js from concurrency_replication suite locally could reproduce this issue.
    • 32

      reads with 'available' readConcern will call setIgnorePrepared() in read_concern.cpp. For other storage engines, setIgnorePrepared() is not implemented, so a 'CommandNotSupported' exception will be thrown. A possible fix would be to make setIgnorePrepared a noop for other storage engines. Another would be to have a boolean called 'supportPrepare' for each storage engine and do setIgnorePrepared() only when it's true.

            Assignee:
            Unassigned Unassigned
            Reporter:
            xiangyu.yao@mongodb.com Xiangyu Yao (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: