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

Improve cursor lifetime management in fle2_log_omit.js test

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • Security 2023-05-29
    • 31

    Description

      A cursor is being opened by the test at https://github.com/10gen/mongo-enterprise-modules/blob/48a745f246021e6fc23d14b33b6b7d77e2a12e43/jstests/no_passthrough/fle2_log_omit.js#L324 and not being synchronously closed or exhausted. This means its lifetime is being left up the whims of the JS GC which may kill it at an undesired time and flood the log about killCursor commands being run.

      Attachments

        Activity

          People

            mark.benvenuto@mongodb.com Mark Benvenuto
            mark.benvenuto@mongodb.com Mark Benvenuto
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: