You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In previous design, getCandidateDeletingFiles is called after getUsedFiles, so it may read newly committed files, and the newly committed files are not in usedFiles, so these files will be deleted incorrectly, am I right?
But we use oldEnough to protect the new files, so I don't know why the files are deleted. Can you explain more details?
Search before asking
Paimon version
master
Compute Engine
flink
Minimal reproduce step
1、Start a streaming write job with ckp (5 second)
2、Sleep some time between
Set<String> usedFiles = getUsedFiles(); Thread.sleep(20000) Map<String, Path> candidates = getCandidateDeletingFiles();
3、Do clean orphanFiles
4、
What doesn't meet your expectations?
Should not delete normal file
Anything else?
No response
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: