unsharding collection

23 views
Skip to first unread message

beinbliss

unread,
Feb 20, 2015, 8:22:48 AM2/20/15
to mongo...@googlegroups.com
Hello,

After db.collection.drop() , when i create collection with same name, all the sharding info remains.
How to drop a collection totally with its sharding info? 
ver 2.6.7

Asya Kamsky

unread,
Feb 20, 2015, 5:57:45 PM2/20/15
to mongo...@googlegroups.com
You are possibly running into https://jira.mongodb.org/browse/SERVER-4537 or rather one of its manifestations described in https://jira.mongodb.org/browse/SERVER-6105

Asya


--
You received this message because you are subscribed to the Google Groups "mongodb-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-dev...@googlegroups.com.
To post to this group, send email to mongo...@googlegroups.com.
Visit this group at http://groups.google.com/group/mongodb-dev.
For more options, visit https://groups.google.com/d/optout.



--
{ "name" : "Asya Kamsky",
  "place" : [ "New York", "Palo Alto", "Everywhere else" ],
  "email" : "as...@mongodb.com",
  "blog" : "http://www.askasya.com/",
  "twitter": "@asya999" }

David Murphy

unread,
Feb 20, 2015, 6:03:28 PM2/20/15
to mongo...@googlegroups.com
Generally if you drop a sharded collection you want to flushRouterConfig on all Mongos' and stepdown all shards to clear the information from chunkManagers and mongos'



Sent from my iPhone
Reply all
Reply to author
Forward
0 new messages