prepareTransaction call doesn't set _prepareOpTime if transaction was recovered

XMLWordPrintableJSON

    • Fully Compatible
    • ALL
    • Repl 2019-02-11
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      When calling prepareTransaction, _prepareOpTime isn't set when recovering a prepared transaction. As a result, we can falsely return true when checking that the commitTimestamp is strictly greater than the prepareTimestamp (which would be set to the default (0, 0)). This would be a problem for failover test suites.

              Assignee:
              Jason Chan
              Reporter:
              Samyukta Lanka
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: