SteveYurongSu commented on code in PR #9245:
URL: https://github.com/apache/iotdb/pull/9245#discussion_r1130639841
##########
server/src/main/java/org/apache/iotdb/db/utils/sync/SyncPipeUtil.java:
##########
@@ -102,21 +79,6 @@ public static PipeSink
parseTPipeSinkInfoAsPipeSink(TPipeSinkInfo pipeSinkInfo)
/** parse TPipeInfo to PipeInfo */
public static PipeInfo parseTCreatePipeReqAsPipeInfo(TCreatePipeReq
pipeInfo, long pipeCreateTime)
throws PipeException {
- boolean syncDelOp = false;
- for (Map.Entry<String, String> entry :
pipeInfo.getAttributes().entrySet()) {
- String attributeKey = entry.getKey().toLowerCase();
- if ("syncdelop".equals(attributeKey)) {
- syncDelOp = Boolean.parseBoolean(entry.getValue());
- } else {
- throw new PipeException(String.format("Can not recognition attribute
%s", entry.getKey()));
- }
- }
-
- return new TsFilePipeInfo(
- pipeInfo.getPipeName(),
- pipeInfo.getPipeSinkName(),
- pipeCreateTime,
- pipeInfo.getStartTime(),
- syncDelOp);
+ return new TsFilePipeInfo();
Review Comment:
Can we removed this file?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]