can not repaireDatabase

XMLWordPrintableJSON

    • Type: Question
    • Resolution: Incomplete
    • Priority: Major - P3
    • None
    • Affects Version/s: 1.6.3
    • Component/s: Admin
    • Environment:
      ubuntu 10.04
      Linux pwmangodb 2.6.18-028stab070.10 #1 SMP Thu Oct 21 13:44:25 MSD 2010 x86_64 GNU/Linux
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      My master mongodb may encounter some problems, when I use >db.repairdatabase(), it respones as

      { "errmsg" : "exception: invalid ns", "code" : 10356, "ok" : 0 }

      , and the slave server always says as follow:

      Wed May 25 13:30:38 [replslave] Assertion: 10356:invalid ns
      0x540c7e 0x72d9c8 0x6d4900 0x6d61ad 0x6485ef 0x6595fe 0x65bee9 0x65e3dc 0x65e6a8 0x65ee11 0x65f59a 0x83a4b0 0x2b1850a09d8c 0x2b18514a904d
      /usr/bin/mongod(_ZN5mongo11msgassertedEiPKc+0x1de) [0x540c7e]
      /usr/bin/mongod(_ZN5mongo12userCreateNSEPKcNS_7BSONObjERSsbPb+0x5d8) [0x72d9c8]
      /usr/bin/mongod(_ZN5mongo6Cloner2goEPKcRSsRKSsbbbb+0xed0) [0x6d4900]
      /usr/bin/mongod(_ZN5mongo9cloneFromEPKcRSsRKSsbbbb+0x3d) [0x6d61ad]
      /usr/bin/mongod(_ZN5mongo10ReplSource6resyncESs+0x13f) [0x6485ef]
      /usr/bin/mongod(_ZN5mongo10ReplSource29sync_pullOpLog_applyOperationERNS_7BSONObjEPNS_6OpTimeE+0xbde) [0x6595fe]
      /usr/bin/mongod(_ZN5mongo10ReplSource14sync_pullOpLogERi+0x1ef9) [0x65bee9]
      /usr/bin/mongod(_ZN5mongo10ReplSource4syncERi+0x4cc) [0x65e3dc]
      /usr/bin/mongod(_ZN5mongo9_replMainERSt6vectorIN5boost10shared_ptrINS_10ReplSourceEEESaIS4_EERi+0x218) [0x65e6a8]
      /usr/bin/mongod(_ZN5mongo8replMainEv+0xd1) [0x65ee11]
      /usr/bin/mongod(_ZN5mongo15replSlaveThreadEv+0x21a) [0x65f59a]
      /usr/bin/mongod(thread_proxy+0x80) [0x83a4b0]
      /lib/x86_64-linux-gnu/libpthread.so.0(+0x6d8c) [0x2b1850a09d8c]
      /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x2b18514a904d]
      Wed May 25 13:30:38 [replslave] repl: AssertionException invalid ns
      repl: sleep 2sec before next pass

      and always resyncing and can not get all the collections.

      Who can help me?

            Assignee:
            Unassigned
            Reporter:
            wenzw
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: