Caideyipi commented on PR #17899: URL: https://github.com/apache/iotdb/pull/17899#issuecomment-4669161454
I think this part has a correctness issue: checkTsFileResourceExists currently warns for every .tsfile because it only checks the filename suffix and never checks whether the corresponding resource file exists. For a normal snapshot containing both xxx.tsfile and xxx.tsfile.resource, this still logs The associated resource file ... is not found in the snapshot, which is a false warning. Please check ew File(file.getAbsolutePath() + TsFileResource.RESOURCE_SUFFIX).exists() before warning, or remove this unrelated snapshot change from this PR. -- 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]
