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

Add log message to applyOps to preview which oplog entries will be applied

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 5.0.1, 5.1.0-rc0
    • None
    • None
    • Fully Compatible
    • v5.0
    • Execution Team 2021-07-26

    Description

      In the event that the applyOps command fails, it would be helpful to know what it was trying to apply to make investigations easier into the problem.

      For example, mongomirror batches together oplog entries into single applyOps commands but it has no option to log the ops that are being applied.

       

      The message would need to have a higher log level to avoid spam.

      Attachments

        Activity

          People

            gregory.wlodarek@mongodb.com Gregory Wlodarek
            gregory.wlodarek@mongodb.com Gregory Wlodarek
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: