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

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.6.3, 3.7.3
    • Affects Version/s: 3.7.1
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v3.6
    • Sharding 2018-02-26
    • 0

      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

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

              Created:
              Updated:
              Resolved: