Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-5949

Updates can be lost when issued near the time of migration

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.1.1
    • Component/s: Sharding
    • ALL

       m30999| Mon May 28 09:58:45 [WriteBackListener-localhost:30001] initializing shard connection to localhost:30001
       m30999| Mon May 28 09:58:45 [WriteBackListener-localhost:30001]     setShardVersion  shard0001 localhost:30001  test.foo  { setShardVersion: "test.foo", configdb: "localhost:30000", version: Timestamp 7000|1, versionEpoch: ObjectId('000000000000000000000000'), serverID: ObjectId('4fc34c265d1a283b7f98f90c'), shard: "shard0001", shardHost: "localhost:30001" } 0x7f40200018b0
       m30999| Mon May 28 09:58:45 [WriteBackListener-localhost:30001]        setShardVersion failed!
       m30999| { oldVersion: Timestamp 0|0, oldVersionEpoch: ObjectId('000000000000000000000000'), ns: "test.foo", version: Timestamp 7000|1, versionEpoch: ObjectId('000000000000000000000000'), globalVersion: Timestamp 8000|0, globalVersionEpoch: ObjectId('4fc34c265d1a283b7f98f90e'), reloadConfig: true, errmsg: "shard global version for collection is higher than trying to set to 'test.foo'", ok: 0.0 }
       m30999| Mon May 28 09:58:45 [Balancer] moveChunk result: { ok: 1.0 }
       m30999| Mon May 28 09:58:45 [WriteBackListener-localhost:30001] ChunkManager: time to load chunks for test.foo: 0ms sequenceNumber: 66 version: 8|1||000000000000000000000000 based on: 7|1||000000000000000000000000
       m30999| Mon May 28 09:58:45 [WriteBackListener-localhost:30001]     setShardVersion  shard0001 localhost:30001  test.foo  { setShardVersion: "test.foo", configdb: "localhost:30000", version: Timestamp 8000|1, versionEpoch: ObjectId('000000000000000000000000'), serverID: ObjectId('4fc34c265d1a283b7f98f90c'), authoritative: true, shard: "shard0001", shardHost: "localhost:30001" } 0x7f40200018b0
       m30999| Mon May 28 09:58:45 [Balancer] *** end of balancing round
       m30999| Mon May 28 09:58:45 [Balancer] distributed lock 'balancer/bs-linux64con:30999:1338199078:1804289383' unlocked. 
       m30999| Mon May 28 09:58:45 [WriteBackListener-localhost:30001]       setShardVersion success: { oldVersion: Timestamp 0|0, oldVersionEpoch: ObjectId('000000000000000000000000'), ok: 1.0 }
       m30999| Mon May 28 09:58:45 [conn1]     setShardVersion  shard0000 localhost:30000  test.foo  { setShardVersion: "test.foo", configdb: "localhost:30000", version: Timestamp 8000|0, versionEpoch: ObjectId('000000000000000000000000'), serverID: ObjectId('4fc34c265d1a283b7f98f90c'), shard: "shard0000", shardHost: "localhost:30000" } 0x7f4034002ef0
       m30999| Mon May 28 09:58:45 [conn1]       setShardVersion success: { oldVersion: Timestamp 7000|0, oldVersionEpoch: ObjectId('000000000000000000000000'), ok: 1.0 }
      going to assert for id: 413 correct count is: 9 db says count is: {
      	"_id" : 413,
      	"s" : "asdasd...",
      	"x" : 8
      }
      assert failed : GLE diff myid: 413 1: {
      ...
      

      http://buildbot.mongodb.org/builders/Nightly%20Linux%2064-bit%20concurrency/builds/59/steps/test_1/logs/stdio

        1. bbfail
          855 kB

            Assignee:
            randolph@mongodb.com Randolph Tan
            Reporter:
            ian@mongodb.com Ian Whalen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: