Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-8383

Make mongos poll less aggressively for cursor timeout

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 2.5.0
    • None
    • Sharding
    • None

    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.

      Attachments

        Activity

          People

            greg_10gen Greg Studer
            greg_10gen Greg Studer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: