Database crached (out of space while loading data). Killed processes, and retsrated mongo. Still see my database, but can not get rid of it.

XMLWordPrintableJSON

    • Type: Question
    • Resolution: Done
    • Priority: Minor - P4
    • None
    • Affects Version/s: 2.0.3
    • Component/s: Admin
    • None
    • Environment:
      Linux 64 bit
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      database crashed (out of disk space) yesterday, then I restarted it. I see nothing loged in the log
      file since the crash.

      See my actions below:
      Set up sharding:oracle@dw07orl57 > mongo
      MongoDB shell version: 2.0.3
      connecting to: test
      mongos> use admin
      switched to db admin
      mongos> show dbs
      config 0.1875GB
      gis_db 1.953125GB
      mongos> use gis_db
      switched to db gis_db
      mongos> db.dropdatabase()
      Fri Mar 9 10:29:57 TypeError: db.dropdatabase is not a function (shell):1
      mongos> db.dropDatabase()

      { "assertion" : "collection's metadata is undergoing changes. Please try again.", "assertionCode" : 13331, "errmsg" : "db assertion failure", "ok" : 0 } mongos> db.dropDatabase() { "dropped" : "gis_db", "ok" : 1 }

      mongos> show dbs
      config 0.1875GB
      gis_db 1.953125GB

        1. from_config.txt
          3 kB
        2. from_mongos.txt
          7 kB
        3. from_shard1.txt
          2 kB
        4. from_shard2.txt
          2 kB

            Assignee:
            Gregor Macadam (Inactive)
            Reporter:
            George Nikopoulos
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: