-
Type: Task
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Labels:
-
Environment:
*Location*: http://docs.mongodb.org/manual/applications/replication/
*User-Agent*: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.71 Safari/537.36
*Referrer*: http://docs.mongodb.org/manual/core/replication/
*Screen Resolution*: 1600 x 900
*repo*: docs
*source*: applications/replication
*Location*: http://docs.mongodb.org/manual/applications/replication/ *User-Agent*: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.71 Safari/537.36 *Referrer*: http://docs.mongodb.org/manual/core/replication/ *Screen Resolution*: 1600 x 900 *repo*: docs *source*: applications/replication
I have a strange problem with mongo replica set and shard.in my situation.I have two routeServer two configServer and four shards and all shard is a replica set.I can read data from secondary but can't read from primary.same query,count 1247 data,primary only can get 807,but secondary can get total. I check the datanode, all have correct data.Is something wrong with my configserver?How can i solve this problem?