-
Type: Bug
-
Resolution: Works as Designed
-
Priority: Major - P3
-
None
-
Affects Version/s: 4.0.21
-
Component/s: None
-
None
-
Sharding 2021-01-25, Sharding 2021-02-22, Sharding 2021-03-08, Sharding 2021-03-22, Sharding 2021-04-05, Sharding 2021-04-19, Sharding 2021-05-03
-
(copied to CRM)
Hi. For some reason we're using Mongo 4.0, and found the following issue.
After I created a sharded collection with hashed sharding and inserted some data on mongos A, I cannot read some of data with readPreference=secondary or secondaryPreferred from another mongos B.
I tried mongo shell, python driver, mgo driver, and they all had the same issue.
Finally I tried mongo 4.4 on local host, the issue was gone.
I tried to find the issue on Jira, but NOT FOUND. So is there an issue about this ? And I really want to know why that happens.
Thanks.
- is duplicated by
-
SERVER-54373 read from mongos with readPref=secondary and readConcern=local/majority return empty data
- Closed
-
SERVER-54625 Maybe the root case for reading from secondary return empty even readConcern=local/majority
- Closed
-
SERVER-76541 documents can't be find with secondary readPref from mongos after create an sharded collection
- Closed