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

prepareTransaction call doesn't set _prepareOpTime if transaction was recovered

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

      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@mongodb.com Jason Chan
            Reporter:
            samy.lanka@mongodb.com Samyukta Lanka
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: