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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 3.7.1
    • Fix Version/s: 3.6.3, 3.7.3
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v3.6
    • Sprint:
      Sharding 2018-02-26
    • Linked BF Score:
      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

              Assignee:
              renctan Randolph Tan
              Reporter:
              renctan Randolph Tan
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: