Investigate how to manage internal threads during step up/down

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Not Applicable
    • None
    • Storage Engines
    • None
    • 5

      We have numerous internal threads (eviction, checkpoint cleanup, bg compaction, ...)
      They should behave differently whether we are the primary or the follower.

      Here is one possible race taking the example of the checkpoint cleanup thread:

      • Node is primary
      • Checkpoint cleanup has started and found a table to clean
      • Node is stepping down
      • Checkpoint cleanup initiates writes -> Should not happen

      We should also satisfy any perf requirements for this stage.

            Assignee:
            [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            Etienne Petrel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: