@Override
  protected boolean complete(MasterProcedureEnv env, Throwable error) {
    if (error == null) {
      try {
        env.getMasterServices().getSplitWALManager().archive(walPath);
      } catch (IOException e) {
        LOG.warn("Failed split of {}; ignore...", walPath, e);
      }
      return true;
    } else {
      if (error instanceof DoNotRetryIOException) {
        LOG.warn("Sent {} to wrong server {}, try another", walPath, targetServer, error);
        return true;
      } else {
        LOG.warn("Failed split of {}, retry...", walPath, error);
        return false;
      }
    }
  }
A remote procedure which is used to send split WAL request to region server. It will return null
if the task succeeded or return a DoNotRetryIOException. {@link SplitWALProcedure} will help
handle the situation that encounters DoNotRetryIOException. Otherwise it will retry until
success.
hbase-server/src/main/java/org/apache/hadoop/hbase/master/procedure/SplitWALRemoteProcedure.java