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

Add stepdown/stepup logic to ChunkSplitter

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.5.11
    • Affects Version/s: None
    • Component/s: Sharding
    • Labels:
      None
    • Fully Compatible
    • Sharding 2017-07-31

      The ChunkSplitter needs to clear the task queue on stepdown, and transition to an inactive state where attempts to schedule splits will be ignored. On stepup, the ChunkSplitter should transition back into an active state, and restart processing of the queued tasks.

      Since the ChunkSplitter will require state (active/inactive), this means we must handle initializing it appropriately depending on whether the mongod is in primary or secondary mode.

            Assignee:
            joanna.huang Joanna Huang
            Reporter:
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: