Investigate snapshot_read* FSM tests leaking cursors

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • 1
    • 🟥 DDL
    • None
    • None
    • None
    • None
    • None
    • None

      As part of SERVER-74993 we introduced a new hook that detects leaked resources. The existing snapshot read FSM tests are leaking resources, most likely because the getMore cmd does not exhaust the cursor and the cursor is not close afterwards (ref).

      Currently the tests are excluded from the hook and kills the corresponding leaked resources.

      Ideally the test would always clean the resources itself as hook could detect the server defects where we forgot to clean the resources on the server side.

       

            Assignee:
            Unassigned
            Reporter:
            Denis Grebennicov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: