Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-1676

Ability to cancel replica reassignment in progress

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.8.1.1
    • 2.5.0
    • controller

    Description

      I've had several situations where I have started a replica reassignment that I've needed to cancel before it completed.

      This has happened

      • when moving to a new broker that turns out to be running on an impaired server
      • if the extra replication hurts cluster performance
      • dealing with replication bugs in kafka, like KAFKA-1670
      • when a single replica reassignment is taking a long time, and I want to start more replica assignments without waiting for the current one to finish.

      For the first three cases, as a last resort I have deleted the /admin/reassign_partitions key from ZooKeeper and restarted the controller. I would like to be able to do this by signaling the controller to stop, and to leave the list of assignments as they exist at that moment.

      Attachments

        Activity

          People

            cmccabe Colin McCabe
            rberdeen Ryan Berdeen
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: