Not all rsMgr log messages start with "replSet"

XMLWordPrintableJSON

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

      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 (Inactive)
              Reporter:
              Kevin Pulo
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: