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

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

Details

    • Icon: Question Question
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • None
    • 2.0.3
    • Admin
    • None
    • Linux 64 bit

    Description

      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

      Attachments

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

        Activity

          People

            gregor Gregor Macadam
            gnikopo George Nikopoulos
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: