Duplicate collections in mongo db

91 views
Skip to first unread message

mongouser

unread,
Jul 26, 2012, 2:24:46 AM7/26/12
to mongod...@googlegroups.com
Hello,
 
We are seeing duplicate collections in same mongo db.Is this a bug or default feature in mongo???
 
PRIMARY> use ngcore
switched to db ngcore
PRIMARY> show collections
baklof
baklof
baklof
baklof
baklof
baklof
baklof
baklof
baklof
baof
baof
baof
baof
baof
baof
baof
baof
baof
caklof
caklof
caklof
caklof
caklof
caklof
caklof
caklof
caklof
caklof
caklof
caklof
caklof
caklof
caklof
caklof
caklof
caklof
caklof
caklof
caklof
caklof
caklof
caklof
caof
 
Thanks

Nat

unread,
Jul 26, 2012, 3:05:38 AM7/26/12
to mongod...@googlegroups.com
It's not a feature. Did you see any exception/stacktrace in the log file before it started happening?

markh

unread,
Jul 26, 2012, 4:39:02 AM7/26/12
to mongod...@googlegroups.com
Additionally, how did you generate the data/collections? What driver are you using? 

What version of MongoDB? 

If needs be, can you share your code?

mongouser

unread,
Jul 26, 2012, 4:13:44 PM7/26/12
to mongod...@googlegroups.com
Hi
 
Nat :- We havn't seen any exception in the log files.
 
Markh :- we are on version: 2.0.2, We are using java drivers.
 
It is difficult to share the code as it is a huge application.This is the first time we are seeing this issue in mongo.Is there are cap on size of the collection??? These are not created as capped collections.
 
Thanks,
Chandra.

mongouser

unread,
Jul 26, 2012, 8:05:59 PM7/26/12
to mongod...@googlegroups.com
I found this on the forums,
 
 
 
Looks like this is a bug.
 
Thanks,

markh

unread,
Jul 27, 2012, 7:42:51 AM7/27/12
to mongod...@googlegroups.com
Hi,

Did you run out of disk space or have you noticed that you've had problems allocating new extents/files. 

Would it be possible to get a copy of your ns file for future diagnostics?

It looks like you need to do a repair. Are you able to do that?

Mark

markh

unread,
Jul 27, 2012, 7:57:48 AM7/27/12
to mongod...@googlegroups.com
Sorry, I also meant to ask if there are any logs that you can share?

mongouser

unread,
Aug 1, 2012, 12:50:48 PM8/1/12
to mongod...@googlegroups.com
Thanks Mark. Mongo repair worked and it took care of the issue.
 
Regards,
Chandra.
Reply all
Reply to author
Forward
0 new messages