Capture cursor read failures on mongod in query stats

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Integration
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Sub-ticket for SERVER-87657.

      Handle getMore failures for registered find/aggregate/change-stream cursors on mongod, where the query-stats key has already moved from OpDebug onto ClientCursor. Thread an errored flag through cursor dispose, set that flag in the getMore catch/error path, and pass it into writeQueryStatsOnCursorDisposeOrKill so the error is recorded during cursor teardown.

            Assignee:
            Kritika Singh
            Reporter:
            Kritika Singh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: