[SERVER-8383] Make mongos poll less aggressively for cursor timeout Created: 29/Jan/13 Updated: 11/Jul/16 Resolved: 22/Mar/13 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 2.5.0 |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Greg Studer | Assignee: | Greg Studer |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: |
| Description |
|
Change polling timeout for mongos cursors from 400ms to 4000ms (4s, matching the mongod cursor polling timeout) (see s/cursors.cpp). Mongos looks at all the open cursors and determines candidates for timeout every 400ms - this seems fairly aggressive since cursors time out after about 10 minutes and might unnecessarily take resources if lots of cursors are open. We could probably increase the polling period significantly. |
| Comments |
| Comment by auto [ 22/Mar/13 ] |
|
Author: {u'date': u'2013-03-20T21:19:36Z', u'name': u'Greg Studer', u'email': u'greg@10gen.com'}Message: |