code: protected void processNodeDeleted(String path) {
      if (path.equals(masterZnode)) {
        LOG.info(masterZnode + " deleted and try to become active master");
        handleMasterNodeChange();
      }
    }
docs: Deal with delete node event, just call the leader election.
  
  @param path which znode is deleted