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

prepareTransaction call doesn't set _prepareOpTime if transaction was recovered

    XMLWordPrintable

    Details

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: