java/openmldb-taskmanager/src/main/java/com/_4paradigm/openmldb/taskmanager/zk/FailoverWatcher.java
protected void processNodeDeleted(String path) {
    if (path.equals(masterZnode)) {
      LOG.info(masterZnode + " deleted and try to become active master");
      handleMasterNodeChange();
    }
  }
/**
   * Deal with delete node event, just call the leader election.
   *
   * @param path which znode is deleted
   */
Deal with delete node event, just call the leader election.
@param path which znode is deleted
Deal with delete node event just call the leader election . @param path which znode is deleted
protected void processNodeDeleted(String path) {
    if (path.equals(masterZnode)) {
      LOG.info(masterZnode + " deleted and try to become active master");
      handleMasterNodeChange();
    }
  }
protected void processNodeDeleted ( String path ) { if ( path . equals ( masterZnode ) ) { LOG . info ( masterZnode + " deleted and try to become active master" ) ; handleMasterNodeChange ( ) ; } }
Deal with delete node event, just call the leader election.
Deal with delete node event just call the leader election .