setIgnorePrepared() is not supported by other storage engines

XMLWordPrintableJSON

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

      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
              Reporter:
              Xiangyu Yao (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: