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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.3.1, 4.2.6
    • Component/s: Sharding
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.2
    • Sprint:
      Sharding 2019-07-15, Sharding 2019-07-29, Sharding 2019-08-12
    • Linked BF Score:
      14

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: