Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-144

audit tools for correct use of oplogReplay queryOption

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • Legacy C++ Implementation
    • mongodump
    • None
    • Platforms 2017-01-23
    • Not Needed

    Description

      Due to the [opaque/confusing] query logic in DBClientConnection, the oplogReplay flag can be overwritten and ignored. https://github.com/mongodb/mongo/blob/c9310a020780e9c226b5ef33ed65c88fce8523b4/src/mongo/client/dbclient.cpp#L1093-L1094

      This happens in mongodump when connecting through a mongod rather than to the data files directly.

      Attachments

        Activity

          People

            samantha.ritter@mongodb.com Samantha Ritter (Inactive)
            ian@mongodb.com Ian Whalen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: