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

Not all rsMgr log messages start with "replSet"

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Logging, Replication
    • Labels:
      None
    • ALL

      It is useful when analysing a logfile to search for "replSet" (case sensitively) to see the main replset related events. None of the following messages in db/repl/manager.cpp are found by these searches:

      • "another primary seen with election time"
      • "stepping down; another primary seen in replicaset"
      • "stepping down; another primary was elected more recently"
      • "another PRIMARY detected but it should step down since it was elected earlier than me"
      • log() << "stepping down " << primary->fullName() << " (priority " << ...
      • log() << "replset error could not reach/authenticate against any members" << endl;
      • log() << "auth problems, relinquishing primary" << rsLog;
      • log() << "can't see a majority of the set, relinquishing primary" << rsLog;
        Despite this, all are important events in the lifecycle of a replica set that are logged at the default logging level.

            Assignee:
            alex.grover Alex Grover
            Reporter:
            kevin.pulo@mongodb.com Kevin Pulo
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: