You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by "Cameron Lee (Jira)" <ji...@apache.org> on 2020/02/18 21:38:00 UTC
[jira] [Updated] (SAMZA-2447) Checkpoint dir removal should only
search in valid store dirs
[ https://issues.apache.org/jira/browse/SAMZA-2447?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Cameron Lee updated SAMZA-2447:
-------------------------------
Fix Version/s: 1.4
> Checkpoint dir removal should only search in valid store dirs
> -------------------------------------------------------------
>
> Key: SAMZA-2447
> URL: https://issues.apache.org/jira/browse/SAMZA-2447
> Project: Samza
> Issue Type: Bug
> Affects Versions: 1.3
> Reporter: Brett Konold
> Assignee: Brett Konold
> Priority: Major
> Fix For: 1.4
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> removeOldCheckpoints in TransactionalStateTaskStorageManager currently treats every file in the logged store base directory as if it is a directory; not always true as there is no guarantee that the base directory has _only_ stores in it (there could be other files unrelated to stores depending on how the user has configured the directory).
> We should only be calling listFiles on files that we know to be directories.
> Bonus points if we can search only directories we know to be stores
--
This message was sent by Atlassian Jira
(v8.3.4#803005)