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

Improve ContinuousAddRemoveShard's compatibility with FSM workloads

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

      ContinuousAddRemoveShard uses the FlagBasedThreadLifecycle type which means that it doesn't take special care to synchronize with the $config.setup() and $config.teardown() functions in FSM workloads: even during these methods it will continue to run.

      By having the ContinuousAddRemoveShard hook be able to use either FlagBasedThreadLifecycle or FileBasedThreadLifeCycle, which synchronizes with the FSM framework (example of ContinuousStepdown which does this), the ContinuousAddRemoveShard hook will no longer run while setup() and teardown() are ongoing.

            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: