[SERVER-8811] version2.js failing on Enterprise builds Created: 01/Mar/13  Updated: 08/Mar/13  Resolved: 01/Mar/13

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

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

Attachments: Text File text (2).txt    
Operating System: ALL
Participants:

 Description   

http://buildbot-special.10gen.com/builders/Nightly%20Linux%2064-bit%20Subscription%20RHEL%206.2/builds/314/steps/shell_3/logs/stdio
http://buildbot-special.10gen.com/builders/Nightly%20Linux%2064-bit%20Subscription%20RHEL%205.7/builds/296/steps/shell_3/logs/stdio

 m30999| Fri Mar  1 09:27:48.216 [conn1] ChunkManager: time to load chunks for alleyinsider.bar: 0ms sequenceNumber: 3 version: 1|0||5130bae4cd2178fc03781666 based on: (empty)
 m30999| Fri Mar  1 09:27:48.216 [conn1]  have to set shard version for conn: localhost:30000 ns:alleyinsider.bar my last seq: 0  current: 3 version: 1|0||5130bae4cd2178fc03781666 manager: 0x7f5e29956c80
 m30999| Fri Mar  1 09:27:48.216 [conn1]     setShardVersion  shard0000 localhost:30000  alleyinsider.bar  { setShardVersion: "alleyinsider.bar", configdb: "localhost:30000", version: Timestamp 1000|0, versionEpoch: ObjectId('5130bae4cd2178fc03781666'), serverID: ObjectId('5130bad1cd2178fc03781660'), shard: "shard0000", shardHost: "localhost:30000" } 0x7f5e29964700 3
 m30999| Fri Mar  1 09:27:48.217 [conn1]        setShardVersion failed!
 m30999| { oldVersion: Timestamp 0|0, oldVersionEpoch: ObjectId('000000000000000000000000'), ns: "alleyinsider.bar", need_authoritative: true, ok: 0.0, errmsg: "first time for collection 'alleyinsider.bar'" }
 m30999| Fri Mar  1 09:27:48.217 [conn1]  have to set shard version for conn: localhost:30000 ns:alleyinsider.bar my last seq: 0  current: 3 version: 1|0||5130bae4cd2178fc03781666 manager: 0x7f5e29956c80
 m30999| Fri Mar  1 09:27:48.217 [conn1]     setShardVersion  shard0000 localhost:30000  alleyinsider.bar  { setShardVersion: "alleyinsider.bar", configdb: "localhost:30000", version: Timestamp 1000|0, versionEpoch: ObjectId('5130bae4cd2178fc03781666'), serverID: ObjectId('5130bad1cd2178fc03781660'), authoritative: true, shard: "shard0000", shardHost: "localhost:30000" } 0x7f5e29964700 3
 m30000| Fri Mar  1 09:27:48.217 [conn6] no current chunk manager found for this shard, will initialize
 m30999| Fri Mar  1 09:27:48.217 [conn1]       setShardVersion success: { oldVersion: Timestamp 0|0, oldVersionEpoch: ObjectId('000000000000000000000000'), ok: 1.0 }
 m30000| Fri Mar  1 09:27:48.219 [conn1] warning: bad serverID set in setShardVersion and none in info: EOO
 m30999| Fri Mar  1 09:27:48.219 [conn1] [pcursor] creating pcursor over QSpec { ns: "config.chunks", n2skip: 0, n2return: -1, options: 0, query: {}, fields: {} } and CInfo { v_ns: "", filter: {} }
 m30999| Fri Mar  1 09:27:48.219 [conn1] [pcursor] initializing over 1 shards required by [unsharded @ config:localhost:30000]
 m30999| Fri Mar  1 09:27:48.219 [conn1] [pcursor] initializing on shard config:localhost:30000, current connection state is { state: {}, retryNext: false, init: false, finish: false, errored: false }
 m30999| Fri Mar  1 09:27:48.219 [conn1] [pcursor] initialized query (lazily) on shard config:localhost:30000, current connection state is { state: { conn: "localhost:30000", vinfo: "config:localhost:30000", cursor: "(empty)", count: 0, done: false }, retryNext: false, init: true, finish: false, errored: false }
 m30999| Fri Mar  1 09:27:48.219 [conn1] [pcursor] finishing over 1 shards
 m30999| Fri Mar  1 09:27:48.219 [conn1] [pcursor] finishing on shard config:localhost:30000, current connection state is { state: { conn: "localhost:30000", vinfo: "config:localhost:30000", cursor: "(empty)", count: 0, done: false }, retryNext: false, init: true, finish: false, errored: false }
 m30999| Fri Mar  1 09:27:48.219 [conn1] [pcursor] finished on shard config:localhost:30000, current connection state is { state: { conn: "(done)", vinfo: "config:localhost:30000", cursor: { _id: "alleyinsider.foo-num_MinKey", lastmod: Timestamp 1000|0, lastmodEpoch: ObjectId('5130bae4cd2178fc03781665'), ns: "alleyinsider.foo", min: { num: MinKey }, max: { num: MaxKey }, shard: "shard0000" }, count: 0, done: false }, retryNext: false, init: true, finish: true, errored: false }
{
	"_id" : "alleyinsider.foo-num_MinKey",
	"lastmod" : {
		"t" : 1,
		"i" : 0
	},
	"lastmodEpoch" : ObjectId("5130bae4cd2178fc03781665"),
	"ns" : "alleyinsider.foo",
	"min" : {
		"num" : { "$minKey" : 1 }
	},
	"max" : {
		"num" : { "$maxKey" : 1 }
	},
	"shard" : "shard0000"
}
assert failed
Error: Printing Stack Trace
    at printStackTrace (src/mongo/shell/utils.js:37:7)
    at doassert (src/mongo/shell/assert.js:6:1)
    at assert (src/mongo/shell/assert.js:14:1)
    at /data/buildslaves/Linux_64bit_Subscription_RHEL_62_Nightly/mongo/jstests/sharding/version2.js:22:1
Fri Mar  1 09:27:48.223 JavaScript execution failed: assert failed at src/mongo/shell/assert.js:L7
failed to load: /data/buildslaves/Linux_64bit_Subscription_RHEL_62_Nightly/mongo/jstests/sharding/version2.js



 Comments   
Comment by Scott Hernandez (Inactive) [ 01/Mar/13 ]

fixed already with earlier commit: https://github.com/mongodb/mongo/commit/d65b141de63340c84563be8c1d2ee13b06363e78

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