-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Testing Infrastructure
-
ALL
Intermittent failure (assumed) for sharding/auto2.js jstest.
Seems like the problem is that GLE doesn't block for all writebacks:
m30999| Thu May 16 07:28:30.156 [WriteBackListener-localhost:30001] op: insert len: 51284 ns: test.foo{ _id: ObjectId('51948a9e3dd2fd91b488a94c'), num: 2900.0, s: "asocsancdnsjfnsdnfsjdhfasdfasdfasdfnsadofnsadlkfnsaldknfsadasocsancdnsjfnsdnfsjdhfasdfasdfasdfnsadofnsadlkfnsaldknfsadasocsancdnsjfnsdnfsjdhfasdfasdfa..." } ^^^ WBL recv'd num : 2900 m30999| Thu May 16 07:28:30.172 [WriteBackListener-localhost:30001] ChunkManager: time to load chunks for test.foo: 3ms sequenceNumber: 18 version: 7|1||51948a8f3c07a65fbf335e52 based on: 6|3||51948a8f3c07a65fbf335e52 m30999| Thu May 16 07:28:30.172 [WriteBackListener-localhost:30001] creating new connection to:localhost:30000 ... done inserting data (gle happens here) ... can't find: 2900 ... m30999| Thu May 16 07:28:34.696 [WriteBackListener-localhost:30001] connected connection! m30999| Thu May 16 07:28:34.696 [WriteBackListener-localhost:30001] initializing shard connection to localhost:30001 m30999| Thu May 16 07:28:34.696 [WriteBackListener-localhost:30001] setShardVersion shard0001 localhost:30001 test.foo { setShardVersion: "test.foo", configdb: "localhost:30000", version: Timestamp 7000|1, versionEpoch: ObjectId('51948a8f3c07a65fbf335e52'), serverID: ObjectId('51948a8d3c07a65fbf335e50'), shard: "shard0001", shardHost: "localhost:30001" } 021D06B0 18 m30999| Thu May 16 07:28:34.696 [WriteBackListener-localhost:30001] setShardVersion success: { oldVersion: Timestamp 0|0, oldVersionEpoch: ObjectId('000000000000000000000000'), ok: 1.0 } ^^^ WBL sends num : 2900 m30999| Thu May 16 07:28:34.696 [WriteBackListener-localhost:30001] writebacklisten result: { data: { writeBack: true, ns: "test.foo", connectionId: 3, instanceIdent: "EC2AMAZ-EXWX6MN:30001", version: Timestamp 7000|0, versionEpoch: ObjectId('51948a8f3c07a65fbf335e52'), yourVersion: Timestamp 6000|0, yourVersionEpoch: ObjectId('51948a8f3c07a65fbf335e52'), msg: BinData, id: ObjectId('51948a9e0000000000000001') }, ok: 1.0 } m30999| Thu May 16 07:28:34.696 [WriteBackListener-localhost:30001] connectionId: EC2AMAZ-EXWX6MN:30001:3 writebackId: 51948a9e0000000000000001 needVersion : 7|0||51948a8f3c07a65fbf335e52 mine : 7|1||51948a8f3c07a65fbf335e52 m30999| Thu May 16 07:28:34.696 [WriteBackListener-localhost:30001] op: insert len: 51284 ns: test.foo{ _id: ObjectId('51948a9e3dd2fd91b488a94d'), num: 2901.0, s: "asocsancdnsjfnsdnfsjdhfasdfasdfasdfnsadofnsadlkfnsaldknfsadasocsancdnsjfnsdnfsjdhfasdfasdfasdfnsadofnsadlkfnsaldknfsadasocsancdnsjfnsdnfsjdhfasdfasdfa..." } m30999| Thu May 16 07:28:34.696 [WriteBackListener-localhost:30001] wbl already reloaded config information for version 7|0||51948a8f3c07a65fbf335e52, at version 7|1||51948a8f3c07a65fbf335e52 ^^^ WBL sent num : 2901 m30999| Thu May 16 07:28:34.696 [WriteBackListener-localhost:30001] writebacklisten result: { data: { writeBack: true, ns: "test.foo", connectionId: 3, instanceIdent: "EC2AMAZ-EXWX6MN:30001", version: Timestamp 7000|0, versionEpoch: ObjectId('51948a8f3c07a65fbf335e52'), yourVersion: Timestamp 6000|0, yourVersionEpoch: ObjectId('51948a8f3c07a65fbf335e52'), msg: BinData, id: ObjectId('51948a9e0000000000000002') }, ok: 1.0 } m30999| Thu May 16 07:28:34.696 [WriteBackListener-localhost:30001] connectionId: EC2AMAZ-EXWX6MN:30001:3 writebackId: 51948a9e0000000000000002 needVersion : 7|0||51948a8f3c07a65fbf335e52 mine : 7|1||51948a8f3c07a65fbf335e52 m30999| Thu May 16 07:28:34.696 [WriteBackListener-localhost:30001] op: insert len: 51284 ns: test.foo{ _id: ObjectId('51948a9e3dd2fd91b488a94e'), num: 2902.0, s: "asocsancdnsjfnsdnfsjdhfasdfasdfasdfnsadofnsadlkfnsaldknfsadasocsancdnsjfnsdnfsjdhfasdfasdfasdfnsadofnsadlkfnsaldknfsadasocsancdnsjfnsdnfsjdhfasdfasdfa..." } m30999| Thu May 16 07:28:34.696 [WriteBackListener-localhost:30001] wbl already reloaded config information for version 7|0||51948a8f3c07a65fbf335e52, at version 7|1||51948a8f3c07a65fbf335e52 ...
See:
http://buildlogs.mongodb.org/Windows%2032-bit%20%282%29/builds/70/test/sharding/auto2.js
- depends on
-
SERVER-9715 Running any command via mongos in a sharded cluster clears GLE
- Closed
- is duplicated by
-
SERVER-10381 auto2.js failed on V2.4 Linux 32-bit
- Closed