Mongodb版本2.2.1
场景:
mongo数据库test分片已经启用,在新增加一个collection之后,并且该表已经有数据写入,当对该表启用分片的时候报错:please create an index that starts with the shard key before shardingmongo数据库test分片已经启用,在新增加一
Mongodb版本2.2.1
场景:
mongo数据库test分片已经启用,在新增加一个collection之后,并且该表已经有数据写入,当对该表启用分片的时候报错:please create an index that starts with the shard key before shardingmongo数据库test分片已经启用,在新增加一