You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Chesnay Schepler (Jira)" <ji...@apache.org> on 2021/01/14 13:59:00 UTC
[jira] [Created] (FLINK-20980) ResourceCounter#withResources
accepts negative count
Chesnay Schepler created FLINK-20980:
----------------------------------------
Summary: ResourceCounter#withResources accepts negative count
Key: FLINK-20980
URL: https://issues.apache.org/jira/browse/FLINK-20980
Project: Flink
Issue Type: Improvement
Components: Runtime / Coordination
Affects Versions: 1.13.0
Reporter: Chesnay Schepler
Assignee: Chesnay Schepler
Fix For: 1.13.0
{{ResourceCounter}} enforces that the count of resources never dips below 0, but the withResource factory method does not verify whether the count is >= 0.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)