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

Large number of cryptic log messages "replSet last" in rs_sync.cpp

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 2.6.0-rc2
    • Affects Version/s: 2.6.0-rc0
    • Component/s: Replication
    • None
    • 0
    • None
    • None
    • None
    • None
    • None
    • None

      In src/mongo/db/repl/rs_sync.cpp:966:

      LOG(1) << "replSet last: " << slave->last.toString() << " to "
      

      On loglevel 1, which is quite common, this creates a large number of cryptic log messages:

      2014-03-06T13:17:43.811+1100 [rsSyncNotifier] replSet last: 5317dac6:5 to 5317dac7:1
      2014-03-06T13:17:43.813+1100 [rsSyncNotifier] replSet last: 5317dac7:1 to 5317dac7:2
      2014-03-06T13:17:43.815+1100 [rsSyncNotifier] replSet last: 5317dac7:2 to 5317dac7:5
      2014-03-06T13:17:43.815+1100 [rsSyncNotifier] replSet last: 5317dac7:6 to 5317dac7:6
      2014-03-06T13:17:43.818+1100 [rsSyncNotifier] replSet last: 5317dac7:6 to 5317dac7:9
      2014-03-06T13:17:43.818+1100 [rsSyncNotifier] replSet last: 5317dac7:a to 5317dac7:a
      2014-03-06T13:17:43.820+1100 [rsSyncNotifier] replSet last: 5317dac7:a to 5317dac7:d
      2014-03-06T13:17:43.822+1100 [rsSyncNotifier] replSet last: 5317dac7:d to 5317dac7:f
      2014-03-06T13:17:43.822+1100 [rsSyncNotifier] replSet last: 5317dac7:11 to 5317dac7:11
      2014-03-06T13:17:43.824+1100 [rsSyncNotifier] replSet last: 5317dac7:11 to 5317dac7:13
      2014-03-06T13:17:43.824+1100 [rsSyncNotifier] replSet last: 5317dac7:15 to 5317dac7:15
      2014-03-06T13:17:43.826+1100 [rsSyncNotifier] replSet last: 5317dac7:15 to 5317dac7:19
      2014-03-06T13:17:43.828+1100 [rsSyncNotifier] replSet last: 5317dac7:19 to 5317dac7:1c
      2014-03-06T13:17:43.829+1100 [rsSyncNotifier] replSet last: 5317dac7:1d to 5317dac7:1d
      2014-03-06T13:17:43.831+1100 [rsSyncNotifier] replSet last: 5317dac7:1d to 5317dac7:20
      2014-03-06T13:17:43.831+1100 [rsSyncNotifier] replSet last: 5317dac7:21 to 5317dac7:21
      2014-03-06T13:17:43.833+1100 [rsSyncNotifier] replSet last: 5317dac7:21 to 5317dac7:24
      2014-03-06T13:17:43.835+1100 [rsSyncNotifier] replSet last: 5317dac7:24 to 5317dac7:26
      2014-03-06T13:17:43.836+1100 [rsSyncNotifier] replSet last: 5317dac7:28 to 5317dac7:28
      2014-03-06T13:17:43.838+1100 [rsSyncNotifier] replSet last: 5317dac7:28 to 5317dac7:2a
      

      Can we explain these better, or alternatively raise the log level to 2 or 3 if they are not required for normal operational use?

            Assignee:
            matt.dannenberg Matt Dannenberg (Inactive)
            Reporter:
            thomas.rueckstiess@mongodb.com Thomas Rueckstiess (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: