Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Three new configs will be added. All of these configs are cluster-wide which means they are global configs affecting the entire cluster.

Config nameTypeDefaultValid valuesImportanceDynamic update modeDescription
reassignment.max.parallelconcurrent.leader.movementsintInt.MAX[1,...]mediumcluster-wide

This new configuration would tell how many replicas of a single partition can be moved at once.

reassignment.max.parallelconcurrent.partition.countintInt.MAX[1,...]mediumcluster-wide

This configuration puts an upper limit on how many partition reassignments can be run concurrently. To calculate the sum of concurrent movements one can multiply this config by reassignment.max.parallel.replica.count.

reassignment.max.parallelconcurrent.replica.countintInt.MAX[1,...]mediumcluster-wideThis one puts an upper limit on concurrent leader movements. It is useful to reduce the controller burden on big reassignments.

...

As an addition these values could be changed dynamically to somewhat "throttle" the reassignment. This kind of throttling would only affect the next reassignment step calculation and would leave the currently running one as it is. It might be better to throttle certain reassignment on a much more advanced way but it could also exceed the scope of this KIP.

...