private TPipeConsensusTransferResp deprecatedResp(String msg, TCommitId tCommitId) {
      final TSStatus status =
          new TSStatus(
              RpcUtils.getStatus(
                  TSStatusCode.PIPE_CONSENSUS_DEPRECATED_REQUEST,
                  String.format(
                      "PipeConsensus receiver received a deprecated request, which may because %s. Consider to discard it.",
                      msg)));
      LOGGER.info(
          "PipeConsensus-PipeName-{}: received a deprecated request-{}, which may because {}. ",
          consensusPipeName,
          tCommitId,
          msg);
      return new TPipeConsensusTransferResp(status);
    }
Reset all data to initial status and set connectorRebootTimes properly. This method is called
when receiver identifies connector has rebooted.
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/receiver/protocol/pipeconsensus/PipeConsensusReceiver.java