You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Anton Kalashnikov (Jira)" <ji...@apache.org> on 2021/10/07 09:11:00 UTC

[jira] [Created] (FLINK-24467) Set min and max buffer size even if the difference less than threshold

Anton Kalashnikov created FLINK-24467:
-----------------------------------------

             Summary: Set min and max buffer size even if the difference less than threshold
                 Key: FLINK-24467
                 URL: https://issues.apache.org/jira/browse/FLINK-24467
             Project: Flink
          Issue Type: Bug
          Components: Runtime / Checkpointing
    Affects Versions: 1.14.0
            Reporter: Anton Kalashnikov
            Assignee: Anton Kalashnikov


Right now, we apply a new buffer size only if it differs from the old buffer size more than the configured threshold but if the old buffer size is close to the max or min value less than this threshold we are always stuck on this value. For example, if we have the old buffer size 22k and our threshold is 50% then the value which we can apply should 33k but this is impossible because the max value is 32k so once we calculate the buffer size to 22k it is impossible to increase it.

The suggestion is to apply the changes every time when we calculate the new value to min or max size and the old value was different.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)