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

Log when a cursor is reaped for exceeding the timeout

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.15, 4.1.4, 4.0.14
    • Component/s: Diagnostics
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.0, v3.6, v3.4
    • Sprint:
      Query 2018-10-22
    • Case:
    • Linked BF Score:
      0

      Description

      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).

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: