You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Jun Qin (Jira)" <ji...@apache.org> on 2021/09/16 08:55:00 UTC
[jira] [Created] (FLINK-24310) A bug in the BufferingSink example
in the doc
Jun Qin created FLINK-24310:
-------------------------------
Summary: A bug in the BufferingSink example in the doc
Key: FLINK-24310
URL: https://issues.apache.org/jira/browse/FLINK-24310
Project: Flink
Issue Type: Bug
Components: Documentation
Reporter: Jun Qin
The following line in the BufferingSink on [this page|https://ci.apache.org/projects/flink/flink-docs-release-1.13/docs/dev/datastream/fault-tolerance/state/#operator-state] has a bug:
if (bufferedElements.size() == threshold) {
It should be {{>=}} instead of {{==}} , because when restoring from a checkpoint during downscaling, the task may get more elements than the threshold.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)