[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. Created: 09/Mar/12 Updated: 15/Aug/12 Resolved: 11/Mar/12 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Admin |
| Affects Version/s: | 2.0.3 |
| Fix Version/s: | None |
| Type: | Question | Priority: | Minor - P4 |
| Reporter: | George Nikopoulos | Assignee: | Gregor Macadam |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Linux 64 bit |
||
| Attachments: |
|
| Participants: |
| Description |
|
database crashed (out of disk space) yesterday, then I restarted it. I see nothing loged in the log See my actions below: mongos> show dbs |
| Comments |
| Comment by George Nikopoulos [ 19/Mar/12 ] |
|
Even though within the database I would do, "show dbs", and then for gis_db database I do a db.dropDatabase() successfully, next time I run "show dbs" gis_db would still show up (empty). Once I deleted the OS gis_db related files and bounce the database, it cleaned up. Now when I do show dbs, the gis_db does not show up. |
| Comment by George Nikopoulos [ 12/Mar/12 ] |
|
Thanks for you responce Eliot. I tried again today and it seems to me that I have the same problem. This is a test database, so I could rebuild/reinstall it, I am just worrying (what if it was production). The behavior is weird: The first time i get the "metadata is undergoing changes" message , then it allows me to drop the database, and then the dataabse still show up. I will attach all three log files from mongos, and shard1, and shard2. The phycical database files are also still on the disk as: oracle@dw07orl57 > pwd Again here is what I did today: shards: { "_id" : "shard0000", "draining" : true, "host" : "dw07orl57:27018" } { "_id" : "shard0001", "draining" : true, "host" : "dw07orl57:27020" }databases: { "_id" : "admin", "partitioned" : false, "primary" : "config" } { "_id" : "gis_db", "partitioned" : false, "primary" : "shard0000" }mongos> use gis_db mongos> show dbs |
| Comment by Eliot Horowitz (Inactive) [ 11/Mar/12 ] |
|
That means a migration or split is happening. |