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

Kill FSM worker thread sessions at the end of their execution

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.0.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • Sharding EMEA 2023-03-20, Sharding EMEA 2023-04-03
    • 15

    Description

      Some FSM workloads leave open cursors (intentionally or otherwise). Open cursors block the range deleter, and this makes the CheckOrphansDeleted hook fail. This has been happening quite often after SERVER-43099 and it's usually time-consuming to debug – the effect of some FSM forgetting a cursor open is that the stopping the balancer times out or the orphan check hook fails.

      SERVER-74993 will introduce a dedicated hook to check for leaked cursors that should run before the CheckOrphansDeleted. In the meantime, this ticket is to make sure the FSM worker threads' sessions are killed by the end of the thread. This will close any idle cursors and let the range deleter make progress so that CheckOrphansDeleted can pass.

      Attachments

        Activity

          People

            jordi.serra-torrens@mongodb.com Jordi Serra Torrens
            jordi.serra-torrens@mongodb.com Jordi Serra Torrens
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: