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

Provide mechanism to clear/acknowledge startup warnings

    XMLWordPrintable

Details

    • New Feature
    • Status: Backlog
    • Major - P3
    • Resolution: Unresolved
    • None
    • None
    • Admin, Logging

    Description

      The mongod process can generate startup warnings under a number of scenarios (running as root, read-ahead values not optimal, THP enabled, _id index missing).

      These warnings appear both in the mongod.log logfile, as well as at the mongo shell prompt each time you login. (It's the second of these which this ticket concerns).

      However, these warnings are static - that is, they will not disappear even if the original condition is resolved, until the mongod process is restarted.

      Whilst some of these warnings refer to situations that would not change without a mongod restart anyway (e.g. read-ahead settings), others refer to situations that may be transient or that could have already been resolved (e.g. missing _id index, or THP settings).

      mongod should provide some mechanism to acknowledge/suppress or clear a warning for a condition that the user already knows has already been resolved, so that it would not appear on each subsequent mongo login.

      Attachments

        Issue Links

          Activity

            People

              backlog-server-security Backlog - Security Team
              victor.hooi Victor Hooi
              Votes:
              7 Vote for this issue
              Watchers:
              23 Start watching this issue

              Dates

                Created:
                Updated: