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)

Reply via email to