[SERVER-4196] Count command on mongos can get into infinite loop Created: 02/Nov/11 Updated: 11/Jul/16 Resolved: 04/Nov/11 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 1.8.5, 2.0.2, 2.1.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Spencer Brody (Inactive) | Assignee: | Spencer Brody (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Operating System: | ALL | ||||||||
| Participants: | |||||||||
| Description |
|
If running a count command on a sharded collection and there is a problem where the shard version number doesn't match between the mongos and the mongod, you could get into an infinite loop. |
| Comments |
| Comment by auto [ 11/Nov/11 ] |
|
Author: {u'login': u'stbrody', u'name': u'Spencer T Brody', u'email': u'spencer@10gen.com'}Message: Make count command on mongos error after 5 failed attempts, instead of retrying indefinitely. |
| Comment by auto [ 11/Nov/11 ] |
|
Author: {u'login': u'stbrody', u'name': u'Spencer T Brody', u'email': u'spencer@10gen.com'}Message: Add test for |
| Comment by auto [ 11/Nov/11 ] |
|
Author: {u'login': u'stbrody', u'name': u'Spencer T Brody', u'email': u'spencer@10gen.com'}Message: Make count command on mongos error after 5 failed attempts, instead of retrying indefinitely. |
| Comment by Greg Studer [ 09/Nov/11 ] |
|
Should be pretty easy to backport into 2.0.2 and 1.8.5 |
| Comment by auto [ 04/Nov/11 ] |
|
Author: {u'login': u'stbrody', u'name': u'Spencer T Brody', u'email': u'spencer@10gen.com'}Message: Add test for |
| Comment by auto [ 04/Nov/11 ] |
|
Author: {u'login': u'stbrody', u'name': u'Spencer T Brody', u'email': u'spencer@10gen.com'}Message: Make count command on mongos error after 5 failed attempts, instead of retrying indefinitely. |