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

Log when a cursor is reaped for exceeding the timeout

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.6.15, 4.1.4, 4.0.14
    • Diagnostics
    • None
    • Fully Compatible
    • ALL
    • v4.0, v3.6, v3.4
    • Query 2018-10-22
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: