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

printSlaveReplicationInfo() appears broken in master

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.0.0-rc6
    • Affects Version/s: None
    • Component/s: Replication
    • Labels:
      None
    • Fully Compatible
    • ALL

      $ mongo
      MongoDB shell version: 2.8.0-rc6-pre-
      connecting to: test
      Server has startup warnings:
      2015-01-20T13:29:54.274-0500 I CONTROL  [initandlisten]
      
      replset:PRIMARY> db.foo.insert({x:1})
      WriteResult({ "nInserted" : 1 })
      
      replset:PRIMARY> rs.printSlaveReplicationInfo()
      source: tab:27018
              syncedTo: Tue Jan 20 2015 13:30:25 GMT-0500 (EST)
              -3630749425 secs (-1008541.51 hrs) behind the freshest member (no primary available at the moment)
      source: tab:27019
              syncedTo: Tue Jan 20 2015 13:30:25 GMT-0500 (EST)
              -3630749425 secs (-1008541.51 hrs) behind the freshest member (no primary available at the moment)
      
      replset:PRIMARY> db.serverBuildInfo()
      {
              "version" : "2.8.0-rc6-pre-",
              "gitVersion" : "2b5bfa7e3799c9b4dffb38856b5d5f893a500731",
              "OpenSSLVersion" : "",
              "sysInfo" : "Linux tab 3.13.0-36-generic #63-Ubuntu SMP Wed Sep 3 21:30:07 UTC 2014 x86_64 BOOST_LIB_VERSION=1_49",
              "loaderFlags" : "-fPIC -pthread -Wl,-z,now -rdynamic",
              "compilerFlags" : "-Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -fPIC -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -Werror -O3 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -std=c99",
              "allocator" : "tcmalloc",
              "versionArray" : [
                      2,
                      8,
                      0,
                      -4
              ],
              "javascriptEngine" : "V8",
              "bits" : 64,
              "debug" : false,
              "maxBsonObjectSize" : 16777216,
              "ok" : 1
      }
      replset:PRIMARY> 
      

            Assignee:
            matt.dannenberg Matt Dannenberg
            Reporter:
            ramon.fernandez@mongodb.com Ramon Fernandez Marina
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: