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/15 10:19:00 UTC

[jira] [Closed] (FLINK-20980) ResourceCounter#withResources accepts negative count

     [ https://issues.apache.org/jira/browse/FLINK-20980?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chesnay Schepler closed FLINK-20980.
------------------------------------
    Resolution: Fixed

master: 4da9ff979c3b21a96f21a34351a4e96b67f93828

> 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
>            Priority: Major
>              Labels: pull-request-available
>             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)