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

ClientCursor::_idleAgeMillis update is racy

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.5.7
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL

      ClientCursor::_idleAgeMillis can be updated both by the ClientCursorMonitor thread (when recording lapsed time) and by a request thread executing a getMore command/op (when resetting via resetIdleTime() call). It is currently not protected from concurrent writes but should be.

            Assignee:
            charlie.swanson@mongodb.com Charlie Swanson
            Reporter:
            james.wahlin@mongodb.com James Wahlin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: