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

Log when a cursor is reaped for exceeding the timeout

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.6.15, 4.1.4, 4.0.14
    • Affects Version/s: None
    • Component/s: Diagnostics
    • Labels:
      None
    • Fully Compatible
    • ALL
    • v4.0, v3.6, v3.4
    • Query 2018-10-22
    • 0

      Sometimes, queries fail because a cursor cannot be found. It would be really useful to see in the mongod logs when a cursor is reaped, to determine if that cursor was lost due to timeout.

      As a part of this ticket, we should consider updating mongos to only log when a cursor is reaped (and not when it is merely marked for deletion, which is annoying for pinned cursors, which will not be timed out).

            Assignee:
            ted.tuckman@mongodb.com Ted Tuckman
            Reporter:
            kyle.suarez@mongodb.com Kyle Suarez
            Votes:
            5 Vote for this issue
            Watchers:
            15 Start watching this issue

              Created:
              Updated:
              Resolved: