[SERVER-3128] Getting inconsistent query result Created: 21/May/11 Updated: 30/Mar/12 Resolved: 02/Sep/11 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | 1.6.3 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Critical - P2 |
| Reporter: | Joseph Wang | Assignee: | Unassigned |
| Resolution: | Cannot Reproduce | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Operating System: | ALL |
| Participants: |
| Description |
|
We encountered the similar before. Before, one of the slaves was in state 2. Now, all nodes are healthy. > rs.status() , , { "_id" : 2, "name" : "stage1.vpc3.estalea.net:4103", "health" : 1, "state" : 2, "uptime" : 2186658, "lastHeartbeat" : "Fri May 20 2011 17:37:33 GMT-0700 (PDT)" } ], |
| Comments |
| Comment by Joseph Wang [ 23/May/11 ] |
|
We'd increased the request timeout from 1000ms to 2000ms on EC2 instance. At least we don't get empty query result now. |
| Comment by Eliot Horowitz (Inactive) [ 21/May/11 ] |
|
Those helpers only work well with replica sets in shell versions > 1.8. Is that the only issue? |
| Comment by Joseph Wang [ 21/May/11 ] |
|
[joseph.wang@stage1.vpc3 ~]$ /usr/local/mongodb-linux-x86_64-1.6.3/bin/mongo localhost:4101 , , { "_id" : 2, "name" : "stage1.vpc3.estalea.net:4103", "health" : 1, "state" : 2, "uptime" : 2187284, "lastHeartbeat" : "Fri May 20 2011 17:47:58 GMT-0700 (PDT)" } ], [joseph.wang@stage1.vpc3 ~]$ /usr/local/mongodb-linux-x86_64-1.6.3/bin/mongo localhost:4102 [joseph.wang@stage1.vpc3 local]$ ls |