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

Allow hooks that use the FileBasedThreadLifecycle to be stackable

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Replication
    • Fully Compatible
    • ALL

      If two hooks with the FileBasedThreadLifecycle type are used in an FSM suite simultaneously, then because they both use the same set of files to synchronize with the FSM framework (the set of files to use is determined by the dbpath) they will end up colliding and messing up the coordination with the FSM framework.

      For example, after SERVER-95248 ContinuousAddRemoveShard will use the FileBasedThreadLifecycle. This mean a suite like concurrency_sharded_stepdown_terminate_kill_with_balancer_and_config_transitions which uses ContinuousStepdown and ContinuousAddRemoveShard will fail.

            Assignee:
            vishnu.kaushik@mongodb.com Vishnu Kaushik
            Reporter:
            vishnu.kaushik@mongodb.com Vishnu Kaushik
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: