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

printSlaveReplicationInfo() appears broken in master

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0-rc6
    • Component/s: Replication
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL

      Description

      $ 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> 

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: