adoroszlai opened a new pull request #2895: URL: https://github.com/apache/ozone/pull/2895
## What changes were proposed in this pull request? `ResourceLimitCache` limits its size by using a group of permits. `put` requires free permit before it can add data. However, `removeIf` does not release permits. https://issues.apache.org/jira/browse/HDDS-6071 ## How was this patch tested? Added unit test. Also, previously `TestRandomKeyGenerator` has been [timing out](https://github.com/apache/ozone/runs/4440507728?check_suite_focus=true#step:4:3010) since HDDS-3227 was merged. It is passing with the patch. CI: https://github.com/adoroszlai/hadoop-ozone/actions/runs/1549379969 https://github.com/adoroszlai/hadoop-ozone/actions/runs/1549427103 -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
