[SERVER-1580] Got cursor assertion error while calling find() in a replica set shard environment Created: 06/Aug/10 Updated: 12/Jul/16 Resolved: 17/Aug/10 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | 1.6.0 |
| Fix Version/s: | 1.6.1, 1.7.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Che-Ching Wu | Assignee: | Eliot Horowitz (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Operating System: | Linux | ||||||||
| Participants: | |||||||||
| Description |
|
I built up a system in this way /opt/mongodb/bin/mongod --dbpath /var/lib/mongo/set1a --port 20001 --rest --shardsvr --replSet set1/172.16.1.193:20002 echo 'cfg = {_id: "set1", members:[{_id: 0, host:"172.16.1.193:20001"},{_id: 1, host:"172.16.1.193:20002"}, {_id: 2, host: "172.16.1.193:20003"}]}; rs.initiate(cfg);' | /opt/mongodb/bin/mongo 172.16.1.193:20001 /opt/mongodb/bin/mongos --configdb 172.16.1.193:30001,172.16.1.193:30002,172.16.1.193:30003 echo 'db.runCommand( {"addshard": "set1/172.16.1.193:20001,172.16.1.193:20002,172.16.1.193:20003"})' | /opt/mongodb/bin/mongo admin Then I do following operations: ' |
| Comments |
| Comment by Che-Ching Wu [ 10/Aug/10 ] |
|
It works fine now on build 2010-08-09. Thanks~ |
| Comment by Eliot Horowitz (Inactive) [ 07/Aug/10 ] |
|
Ok - that makes more sense. |
| Comment by Che-Ching Wu [ 07/Aug/10 ] |
|
Sorry, the error I got is on line 196. I also tested v1.5.8. Line number 204 is from v1.5.8. They are the same issue. Really sorry for incomplete information. |
| Comment by Eliot Horowitz (Inactive) [ 06/Aug/10 ] |
|
The issue at line 196 is fixed in master and the v1.6 branch and will be in both nightlies tomorrow |
| Comment by Van Nguyen (vnguyen) [ 06/Aug/10 ] |
|
I'm also getting this issue but for line 196. This was my mongos log (hopefully it sheds some light): Fri Aug 6 17:33:41 [conn26] Request::process ns: metamoki.users msg id:1756924432 attempt: 0 0x85ba0b8 |
| Comment by Eliot Horowitz (Inactive) [ 06/Aug/10 ] |
|
I can't reproduce this exact error - though I fixed a similar one. |
| Comment by Che-Ching Wu [ 06/Aug/10 ] |
|
but count() works well. |