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

FSM killSession helper should not kill sessions being run by background hooks

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.1, 4.2.6
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • ALL
    • v4.2
    • Sharding 2019-07-15, Sharding 2019-07-29, Sharding 2019-08-12
    • 14

      In SERVER-40183, the FSM kill session helper which kills a random session from config.system.sessions collection was introduced. A drawback of killing a random session is that it could inadvertently kill sessions being run by background hooks, like the checkReplDbhashBackgroundThread hook that runs periodically in the background during the test.

      In BF-13152, we see that the checkReplDbhashBackgroundThread was chosen to be killed by the FSM test and it caused the hook to fail, resulting in the test failure.

            Assignee:
            jack.mulrow@mongodb.com Jack Mulrow
            Reporter:
            gregory.wlodarek@mongodb.com Gregory Wlodarek
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: