SteveYurongSu commented on code in PR #12265:
URL: https://github.com/apache/iotdb/pull/12265#discussion_r1546180305


##########
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/event/common/tsfile/PipeTsFileInsertionEvent.java:
##########
@@ -111,8 +111,9 @@ public PipeTsFileInsertionEvent(
             });
       }
     }
-    // check again after register close listener in case TsFile is closed 
during the process
+    // Check again after register close listener in case TsFile is closed 
during the process
     isClosed.set(resource.isClosed());
+    isTsFileFormatValid = resource.getProcessor().isTsFileFormatValidForPipe();

Review Comment:
   Make isTsFileFormatValid atomic. Modify comments for isTsFileFormatValid.



-- 
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]

Reply via email to