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

Omit DDL oplog entry log messages when in quiet mode

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Replication
    • Fully Compatible
    • Repl 2023-10-16, Repl 2023-10-30, Repl 2023-11-13, Repl 2023-11-27

      In SERVER-73601 we added info-level log messages around DDL oplog entries. These can be noisy in certain use cases and so we should update these messages to not be logged when the "quiet" server parameter is set to true.

      Original request:

      The Atlas Data Federation team uses mongod for virtual collection queries, and will create/drop a large number of virtual collections over the course of a single query. As a result, over the span of an hour, we've seen ~1.7 million "Wrote oplog entry for drop" and "Added oplog entry for create to transaction" logs. The ADF team would like to reduce log volume and are wondering if these logs can be set to the DEBUG level. 

            Assignee:
            kaitlin.mahar@mongodb.com Kaitlin Mahar
            Reporter:
            matthew.kim@mongodb.com Matthew Kim
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: