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

Additional logging for storage and replication initialization phases

    • Type: Icon: Improvement Improvement
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Logging, Replication, Storage
    • Storage NYC 2018-12-31, Repl 2019-01-14, Execution Team 2020-04-06

      There are certain cases where the MongoDB process isn't producing enough logs:

      1. If a MongoDB process crashes when an index build is in progress and the index build is retried (replica set member or standalone not using noIndexBuildRetry) the index build is performed before the MongoDB process initializes replication.
      2. No explicit log entries are made regarding the retried index build.
      3. If a MongoDB process recovers the last clean checkpoint and there are many time consuming operations to rollback. This is also done before the MongoDB process initializes networking and replication.

      Please add more explicit logging for this kind of recovery operations performed at mongod startup.

            Assignee:
            milkie@mongodb.com Eric Milkie
            Reporter:
            emilio.scalise@mongodb.com Emilio Scalise
            Votes:
            1 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: