[SERVER-16477] Confusing info message from initiate on removed member Created: 09/Dec/14  Updated: 25/Jan/17  Resolved: 25/Feb/15

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

Type: Bug Priority: Minor - P4
Reporter: Scott Hernandez (Inactive) Assignee: Siyuan Zhou
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: RPL 0 3/13/15
Participants:

 Description   

The info2 message is confusing below.

> rs.initiate()
{
	"info2" : "no configuration explicitly specified -- making one",
	"me" : "pans-2.local:27017",
	"info" : "try querying local.system.replset to see current configuration",
	"ok" : 0,
	"errmsg" : "already initialized",
	"code" : 23
}
> rs.status()
{
	"state" : 10,
	"stateStr" : "REMOVED",
	"uptime" : 1926,
	"optime" : Timestamp(1417805047, 1),
	"optimeDate" : ISODate("2014-12-05T18:44:07Z"),
	"replCoord" : "impl",
	"ok" : 0,
	"errmsg" : "Our replica set config is invalid or we are not a member of it",
	"code" : 93
}
> db.isMaster()
{
	"ismaster" : false,
	"secondary" : false,
	"info" : "Does not have a valid replica set config",
	"isreplicaset" : true,
	"rbid" : 1325014456,
	"maxBsonObjectSize" : 16777216,
	"maxMessageSizeBytes" : 48000000,
	"maxWriteBatchSize" : 1000,
	"localTime" : ISODate("2014-12-09T01:53:48.191Z"),
	"maxWireVersion" : 3,
	"minWireVersion" : 0,
	"ok" : 1
}
 



 Comments   
Comment by Githook User [ 25/Feb/15 ]

Author:

{u'username': u'visualzhou', u'name': u'Siyuan Zhou', u'email': u'siyuan.zhou@mongodb.com'}

Message: SERVER-16477 Confusing info message from initiate on removed member
Branch: master
https://github.com/mongodb/mongo/commit/ac056b3d924d6e735620460457a4c83e36c3c13c

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