SteveYurongSu commented on code in PR #11425:
URL: https://github.com/apache/iotdb/pull/11425#discussion_r1376495956
##########
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/connector/protocol/thrift/async/IoTDBThriftAsyncConnector.java:
##########
@@ -291,26 +297,30 @@ public void transfer(TsFileInsertionEvent
tsFileInsertionEvent) throws Exception
return;
}
- if (((EnrichedEvent) tsFileInsertionEvent).shouldParsePatternOrTime()) {
+ final PipeTsFileInsertionEvent pipeTsFileInsertionEvent =
+ (PipeTsFileInsertionEvent) tsFileInsertionEvent;
+ if (!pipeTsFileInsertionEvent.waitForTsFileClose()) {
+ LOGGER.warn("Pipe found a temporary TsFile which shouldn't be
transferred. Skipping.");
Review Comment:
print file name.
--
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]