"collection's metadata is undergoing changes. Please try again."

673 views
Skip to first unread message

Zach Smith

unread,
Oct 26, 2011, 10:49:31 AM10/26/11
to mongod...@googlegroups.com
I'm attempting to drop a sharded collection and I keep receiving this error:

Wed Oct 26 14:45:46 uncaught exception: drop failed: {
"assertion" : "collection's metadata is undergoing changes. Please try again.",
"assertionCode" : 13331,
"errmsg" : "db assertion failure",
"ok" : 0
}

I've tried again many times, but with no luck. Any thoughts on debugging this? I'm thinking this may also be related to the fact that this collection isn't balancing properly.  It currently has 26 chunks on one shard and only 1 on the other.

Thanks for the help. 

Nat

unread,
Oct 26, 2011, 11:06:58 AM10/26/11
to mongod...@googlegroups.com
Can you check mongos,mongod log? There might be other previous exceptions/assertions.

Zach Smith

unread,
Oct 26, 2011, 3:22:04 PM10/26/11
to mongod...@googlegroups.com
The problems both seems to have fixed themselves. I connected to the primary mongod process in one of the replicasets and queried it directly. This caused it to crash, but then when a new instance took over the the primary, everything worked itself out.

I can't get to the old log files because apparently mongo overwrites the log file from a previous run rather than appending to it.

A bit confused about what happened, but at least everything is working now. 

On Wed, Oct 26, 2011 at 11:06 AM, Nat <nat....@gmail.com> wrote:
Can you check mongos,mongod log? There might be other previous exceptions/assertions.

--
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To view this discussion on the web visit https://groups.google.com/d/msg/mongodb-user/-/VSn8XkQ3VrcJ.
To post to this group, send email to mongod...@googlegroups.com.
To unsubscribe from this group, send email to mongodb-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/mongodb-user?hl=en.

Reply all
Reply to author
Forward
0 new messages