Make mongos poll less aggressively for cursor timeout

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Minor - P4
    • 2.5.0
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Greg Studer (Inactive)
            Reporter:
            Greg Studer (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: