Class ControllerInstanceTagRefresher

java.lang.Object
com.linkedin.venice.controller.ControllerInstanceTagRefresher
All Implemented Interfaces:
org.apache.helix.PreConnectCallback

public class ControllerInstanceTagRefresher extends Object implements org.apache.helix.PreConnectCallback
PreConnectCallback is called after the participant registers its info in the cluster but before marking itself as LIVEINSTANCE. If the instance is already a participant of the cluster, then we need this logic to update Instance tags in the case of K8S assigning this controller participant to another cluster
  • Constructor Details

    • ControllerInstanceTagRefresher

      public ControllerInstanceTagRefresher(SafeHelixManager helixManager, List<String> instanceTagList)
  • Method Details

    • onPreConnect

      public void onPreConnect()
      Specified by:
      onPreConnect in interface org.apache.helix.PreConnectCallback