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

retried findAndModify not using oplogHack when querying for pre/post image oplog entry

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 3.7.1
    • 3.6.3, 3.7.3
    • None
    • None
    • Fully Compatible
    • ALL
    • v3.6
    • Sharding 2018-02-26
    • 0

    Description

      causing it to perform a collection scan on the oplog.

      To fix, this query should pass the oplogReplay flag:
      https://github.com/mongodb/mongo/blob/r3.7.1/src/mongo/db/ops/write_ops_retryability.cpp#L124

      similar to here:
      https://github.com/mongodb/mongo/blob/r3.7.1/src/mongo/db/transaction_history_iterator.cpp#L55

      Attachments

        Issue Links

          Activity

            People

              randolph@mongodb.com Randolph Tan
              randolph@mongodb.com Randolph Tan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: