wangchao316 commented on code in PR #11404:
URL: https://github.com/apache/iotdb/pull/11404#discussion_r1374270357
##########
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/DataRegion.java:
##########
@@ -2053,7 +2053,7 @@ private void
closeUnsealedTsFileProcessorCallBack(TsFileProcessor tsFileProcesso
closeQueryLock.writeLock().lock();
try {
tsFileProcessor.close();
- if (tsFileProcessor.isEmpty()) {
+ if (tsFileProcessor.isEmpty() ||
tsFileProcessor.getTsFileResource().isEmpty()) {
Review Comment:
hi , tsfile exsit and resource does not exsit, will delete tsfile?
--
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]