Class CloneHistoricals

java.lang.Object
org.apache.druid.server.coordinator.duty.CloneHistoricals
All Implemented Interfaces:
CoordinatorDuty

public class CloneHistoricals extends Object implements CoordinatorDuty
Handles cloning of historicals. Given the historical to historical clone mappings, based on CoordinatorDynamicConfig.getCloneServers(), copies any segments load or unload requests from the source historical to the target historical.
  • Constructor Details

  • Method Details

    • run

      Description copied from interface: CoordinatorDuty
      Implementations of this method run various activities performed by the coordinator. Input params can be used and modified. The returned DruidCoordinatorRuntimeParams is passed to the next duty.
      Specified by:
      run in interface CoordinatorDuty
      Returns:
      same as input or a modified value to be used by next duty. Null return values will prevent subsequent CoordinatorDuty objects (see the order in the lists passed into the constructor of DruidCoordinator.DutiesRunnable) from running until the next cycle.