[SERVER-7699] stale_clustered.js fails during SlaveOK query Created: 17/Nov/12  Updated: 11/Jul/16  Resolved: 21/Nov/12

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

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

Attachments: Text File stale_clustered.txt    
Operating System: ALL
Participants:

 Description   

http://buildbot.mongodb.org/builders/Linux%2064-bit%20Legacy/builds/5122

	
stale_clustered.js SlaveOK Query...
 m30998| Sat Nov 17 09:45:33.721 [conn1] Socket recv() errno:104 Connection reset by peer 127.0.0.1:31100
 m30998| Sat Nov 17 09:45:33.721 [conn1] SocketException: remote: 127.0.0.1:31100 error: 9001 socket exception [1] server [127.0.0.1:31100] 
 m30998| Sat Nov 17 09:45:33.721 [conn1] DBClientCursor::init lazy say() failed
 m30998| Sat Nov 17 09:45:33.721 [conn1] DBClientCursor::init message from say() was empty
 m30998| Sat Nov 17 09:45:33.721 [conn1] slave no longer has secondary status: domU-12-31-39-16-30-A2:31100
 m31100| Sat Nov 17 09:45:33.721 [conn41] end connection 127.0.0.1:60144 (23 connections now open)
 m30998| Sat Nov 17 09:45:33.721 [conn1] sharded connection to clusteredstale-rs0/domU-12-31-39-16-30-A2:31100,domU-12-31-39-16-30-A2:31101,domU-12-31-39-16-30-A2:31102 not being returned to the pool
 m30998| Sat Nov 17 09:45:33.741 [conn1] socket exception when initializing on clusteredstale-rs0:clusteredstale-rs0/domU-12-31-39-16-30-A2:31100,domU-12-31-39-16-30-A2:31101,domU-12-31-39-16-30-A2:31102, current connection state is { state: { conn: "", vinfo: "test.foo @ 2|1||50a7a275e10b3cbd7ae1b532", cursor: "(none)", count: 0, done: false }, retryNext: true, init: false, finish: false, errored: false } :: caused by :: 11002 socket exception [6] server [clusteredstale-rs0/domU-12-31-39-16-30-A2:31100,domU-12-31-39-16-30-A2:31101,domU-12-31-39-16-30-A2:31102] mongos shardconnection connectionpool error: connect failed to replica set clusteredstale-rs0/domU-12-31-39-16-30-A2:31100,domU-12-31-39-16-30-A2:31101,domU-12-31-39-16-30-A2:31102
 m30998| Sat Nov 17 09:45:33.741 [conn1] DBException in process: socket exception [CONNECT_ERROR] for clusteredstale-rs0/domU-12-31-39-16-30-A2:31100,domU-12-31-39-16-30-A2:31101,domU-12-31-39-16-30-A2:31102
Sat Nov 17 09:45:33.742 exec error: src/mongo/shell/query.js:128 error: {
	"$err" : "socket exception [CONNECT_ERROR] for clusteredstale-rs0/domU-12-31-39-16-30-A2:31100,domU-12-31-39-16-30-A2:31101,domU-12-31-39-16-30-A2:31102",
	"code" : 11002,
	"shard" : "clusteredstale-rs0"
}
throw "error: " + tojson( ret );
                ^
failed to load: /mnt/data/slaves/Linux_64bit_Legacy/mongo/jstests/replsets/stale_clustered.js



 Comments   
Comment by Greg Studer [ 21/Nov/12 ]

Author:

{u'date': u'2012-11-20T15:19:24Z', u'email': u'greg@10gen.com', u'name': u'Greg Studer'}

Message: SERVER-7666 make connPoolStats always report the state of all replica sets being tracked
Branch: master
https://github.com/mongodb/mongo/commit/37e3c78fd0fd25be18fbfe650a70d0a7d90fcd60

Note typo'd server ticket in the commit.

Comment by auto [ 20/Nov/12 ]

Author:

{u'date': u'2012-11-19T23:55:51Z', u'email': u'greg@10gen.com', u'name': u'Greg Studer'}

Message: SERVER-7699 buildbot temporary fix and explicitly wait for secondaries, more digging needed
Branch: master
https://github.com/mongodb/mongo/commit/c2aff79d6383739994dd110aed6596c34d2e07b7

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