[SERVER-18969] About create sharding collections Created: 15/Jun/15  Updated: 15/Jun/15  Resolved: 15/Jun/15

Status: Closed
Project: Core Server
Component/s: Admin, Sharding, Shell
Affects Version/s: 2.6.9
Fix Version/s: None

Type: Question Priority: Major - P3
Reporter: Dnv.IytH Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 Description   

Is there anyway that mongodb don't create collectioins immedicately after shard collections? After I shard collections, It don't create the collection immedicately until a record is inserted into this collectioin.
Once I use mongo shell "sh.shardCollection('test.users',

{userId: 'hashed'}

)", it will create a collections in database 'test', is there anyway to prevent it?



 Comments   
Comment by Ramon Fernandez Marina [ 15/Jun/15 ]

Thanks for your report dnviyth. Please note that the SERVER project is for reporting bugs or feature suggestions for the MongoDB server. For MongoDB-related support discussion please post on the mongodb-user group or Stack Overflow with the mongodb tag, where your question will reach a larger audience. A question like this involving more discussion would be best posted on the mongodb-user group.

Regards,
Ramón.

Comment by Dnv.IytH [ 15/Jun/15 ]

immediately, sorry for my bad english.

Generated at Thu Feb 08 03:49:24 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.