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

In rs.status() "syncingTo" should be "syncingFrom"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Operating System:
      ALL

      Description

      I ran rs.status() and it scared the everliving bejeezus out of me. It said that my newly brought up secondary was syncing to my primary and overwriting the data there. Then I realized that this is just a horrible message and it really meant it's syncing from the primary not to it.

      { "_id" : 15, "name" : "128.138.202.153:27017", "health" : 1, "state" : 5, "stateStr" : "STARTUP2", "uptime" : 4373, "optime" : Timestamp(1373384104, 1), "optimeDate" : ISODate("2013-07-09T15:35:04Z"), "lastHeartbeat" : ISODate("2013-07-09T19:21:31Z"), "lastHeartbeatRecv" : ISODate("1970-01-01T00:00:00Z"), "pingMs" : 7, "syncingTo" : "128.138.202.152:27017" }

      ,

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: