[SERVER-10146] In rs.status() "syncingTo" should be "syncingFrom" Created: 09/Jul/13  Updated: 12/Aug/13  Resolved: 12/Aug/13

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Ben McCann Assignee: Stennie Steneker (Inactive)
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-5461 Add syncSourceHost field to replSetGe... Closed
Operating System: ALL
Participants:

 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" }

,



 Comments   
Comment by Stennie Steneker (Inactive) [ 12/Aug/13 ]

Hi Ben,

This has already been reported as SERVER-5461; please feel free to upvote/watch that issue.

Thanks,
Stephen

Generated at Thu Feb 08 03:22:24 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.