[SERVER-16419] replset5.js Created: 03/Dec/14  Updated: 11/Jul/16  Resolved: 04/Dec/14

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 2.8.0-rc3

Type: Bug Priority: Major - P3
Reporter: Ian Whalen (Inactive) Assignee: Eric Milkie
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: ALL
Participants:

 Description   

TEST HISTORY

LOGS

replset5.js reconfigure with hidden=1
 m31002| 2014-12-03T17:53:00.746+0000 I REPL     [conn1] replSetReconfig admin command received from client
 m31000| 2014-12-03T17:53:00.747+0000 I NETWORK  [initandlisten] connection accepted from 10.138.88.9:58306 #8 (4 connections now open)
 m31000| 2014-12-03T17:53:00.747+0000 I NETWORK  [conn8] end connection 10.138.88.9:58306 (3 connections now open)
 m31001| 2014-12-03T17:53:00.748+0000 I NETWORK  [initandlisten] connection accepted from 10.138.88.9:59472 #6 (4 connections now open)
 m31001| 2014-12-03T17:53:00.748+0000 I NETWORK  [conn6] end connection 10.138.88.9:59472 (3 connections now open)
 m31002| 2014-12-03T17:53:00.748+0000 E REPL     [conn1] replSetReconfig got NodeNotElectable This node, ip-10-138-88-9:31002, with _id 2 is not electable under the new configuration version 2 for replica set testSet while validating { _id: "testSet", version: 2, members: [ { _id: 0, host: "ip-10-138-88-9:31000", arbiterOnly: false, buildIndexes: true, hidden: false, priority: 1.0, tags: {}, slaveDelay: 0, votes: 1 }, { _id: 1, host: "ip-10-138-88-9:31001", arbiterOnly: false, buildIndexes: true, hidden: false, priority: 1.0, tags: {}, slaveDelay: 0, votes: 1 }, { _id: 2, host: "ip-10-138-88-9:31002", arbiterOnly: false, buildIndexes: true, hidden: 1.0, priority: 0.0, tags: {}, slaveDelay: 0, votes: 1 } ], settings: { chainingAllowed: true, heartbeatTimeoutSecs: 15, getLastErrorModes: {}, getLastErrorDefaults: { w: 3, wtimeout: 20000 } } }
{
	"_id" : "testSet",
	"version" : 1,
	"members" : [
		{
			"_id" : 0,
			"host" : "ip-10-138-88-9:31000",
			"arbiterOnly" : false,
			"buildIndexes" : true,
			"hidden" : false,
			"priority" : 1,
			"tags" : {
				
			},
			"slaveDelay" : 0,
			"votes" : 1
		},
		{
			"_id" : 1,
			"host" : "ip-10-138-88-9:31001",
			"arbiterOnly" : false,
			"buildIndexes" : true,
			"hidden" : false,
			"priority" : 1,
			"tags" : {
				
			},
			"slaveDelay" : 0,
			"votes" : 1
		},
		{
			"_id" : 2,
			"host" : "ip-10-138-88-9:31002",
			"arbiterOnly" : false,
			"buildIndexes" : true,
			"hidden" : false,
			"priority" : 1,
			"tags" : {
				
			},
			"slaveDelay" : 0,
			"votes" : 1
		}
	],
	"settings" : {
		"chainingAllowed" : true,
		"heartbeatTimeoutSecs" : 15,
		"getLastErrorModes" : {
			
		},
		"getLastErrorDefaults" : {
			"w" : 3,
			"wtimeout" : 20000
		}
	}
}
assert: [false] != [true] are not equal : undefined
Error: [false] != [true] are not equal : undefined
    at Error (<anonymous>)
    at doassert (src/mongo/shell/assert.js:11:14)
    at Function.assert.eq (src/mongo/shell/assert.js:38:5)
    at doTest (/data/mci/shell/src/jstests/replsets/replset5.js:83:12)
    at /data/mci/shell/src/jstests/replsets/replset5.js:88:1



 Comments   
Comment by Githook User [ 04/Dec/14 ]

Author:

{u'username': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}

Message: SERVER-16419 use reconfig function for reconfiguration in jstests
Branch: master
https://github.com/mongodb/mongo/commit/fb08da6fcb2387e69608cca53fb24c12e97b9a32

Comment by Githook User [ 04/Dec/14 ]

Author:

{u'username': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}

Message: SERVER-16419 do not elect node 2 as primary
Branch: master
https://github.com/mongodb/mongo/commit/2058d2d261629e89aa30b3198e8287a20b336439

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