-
Type: Task
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Labels:
-
Environment:
*Location*: http://docs.mongodb.org/manual/reference/command/shardCollection/
*User-Agent*: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_3) AppleWebKit/536.29.13 (KHTML, like Gecko) Version/6.0.4 Safari/536.29.13
*Referrer*: http://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=0CCsQFjAA&url=http%3A%2F%2Fdocs.mongodb.org%2Fmanual%2Freference%2Fcommand%2FshardCollection&ei=Th4dUtrKDYaKrQGRjICIBw&usg=AFQjCNHqy7ePohJ8oKLOKJ8PJBiQRF56ZQ&bvm=bv.51156542,d.aWM
*Screen Resolution*: 1440 x 900
*repo*: docs
*source*: reference/command/shardCollection
*Location*: http://docs.mongodb.org/manual/reference/command/shardCollection/ *User-Agent*: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_3) AppleWebKit/536.29.13 (KHTML, like Gecko) Version/6.0.4 Safari/536.29.13 *Referrer*: http://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=0CCsQFjAA&url=http%3A%2F%2Fdocs.mongodb.org%2Fmanual%2Freference%2Fcommand%2FshardCollection&ei=Th4dUtrKDYaKrQGRjICIBw&usg=AFQjCNHqy7ePohJ8oKLOKJ8PJBiQRF56ZQ&bvm=bv.51156542,d.aWM *Screen Resolution*: 1440 x 900 *repo*: docs *source*: reference/command/shardCollection
At the moment, running multiple shardCollection calls on the same collection concurrently (through different mongoS instances) might cause problems and inconsistency between config servers. We should explicitly mention that it is NOT recommended to do that.
See also: SERVER-4537