[
https://issues.apache.org/jira/browse/STORM-3170?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated STORM-3170:
----------------------------------
Labels: pull-request-available (was: )
> DirectoryCleaner may not correctly report correct number of deleted files
> -------------------------------------------------------------------------
>
> Key: STORM-3170
> URL: https://issues.apache.org/jira/browse/STORM-3170
> Project: Apache Storm
> Issue Type: Bug
> Components: storm-webapp
> Affects Versions: 2.0.0
> Reporter: Zhengdai Hu
> Assignee: Zhengdai Hu
> Priority: Major
> Labels: pull-request-available
> Fix For: 2.0.0
>
>
> In DirectoryCleaner#deleteOldestWhileTooLarge, the original implementation
> calls file#delete without checking if it succeed or not, even though they're
> always reported as deleted. This prevents DirectoryCleaner from clean up
> other files and invalidates any metrics built on top of this.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)