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

original primary in replica set after reboot didn't get back (rollback fails)

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.5.7
    • Affects Version/s: 1.5.6
    • Component/s: Replication
    • None
    • Environment:
      Cent OS 5.4
    • Linux

      1. start shard11, shard12, arbiter using these commands

      1. /opt/mongodb/bin/mongod --fork --dbpath /var/lib/mongo/ --logpath /var/log/mongo/mongod.log --logappend --rest --replSet shard1/shard11,shard12,arbiter
      1. echo 'cfg = {_id: "shard1", members:[{_id: 0, host:"vm-tablestoreshard11"},{_id: 1, host:"vm-tablestoreshard12"},{_id: 2, host:"vm-tablestoreconfig1", "arbiterOnly": true}]}; rs.initiate(cfg);' | /opt/mongodb/bin/mongo

      The first command was executed in three servers

      2. feeds data
      3. kill mongod on shard11 and then the feeding was stopped
      4. feeds again
      5. start mongod on shard11 and got this message on screen

      0x533770 0x4dfbc2 0x55ffdc 0x55d784 0x67ac78 0x67e95b 0x6814b0 0x6826c8 0x682b7d 0x7fa960 0x379ce064a7 0x379c2d3c2d
      /opt/mongodb/bin/mongod(_ZN5mongo11msgassertedEiPKc+0x1e0) [0x533770]
      /opt/mongodb/bin/mongod(_ZN5mongo7BSONObj4initEPKcb+0x1a2) [0x4dfbc2]
      /opt/mongodb/bin/mongod(_ZN5mongo14DBClientCursor4nextEv+0x13c) [0x55ffdc]
      /opt/mongodb/bin/mongod(_ZN5mongo14DBClientCursor8nextSafeEv+0x34) [0x55d784]
      /opt/mongodb/bin/mongod [0x67ac78]
      /opt/mongodb/bin/mongod(_ZN5mongo11ReplSetImpl12syncRollbackERNS_11OplogReaderE+0x4db) [0x67e95b]
      /opt/mongodb/bin/mongod(_ZN5mongo11ReplSetImpl8syncTailEv+0x7a0) [0x6814b0]
      /opt/mongodb/bin/mongod(_ZN5mongo11ReplSetImpl10syncThreadEv+0x58) [0x6826c8]
      /opt/mongodb/bin/mongod(_ZN5mongo15startSyncThreadEv+0xcd) [0x682b7d]
      /opt/mongodb/bin/mongod(thread_proxy+0x80) [0x7fa960]
      /lib64/libpthread.so.0 [0x379ce064a7]
      /lib64/libc.so.6(clone+0x6d) [0x379c2d3c2d]

            Assignee:
            dwight@mongodb.com Dwight Merriman
            Reporter:
            stewwu Che-Ching Wu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: