You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Fabian Paul (Jira)" <ji...@apache.org> on 2021/10/28 12:05:00 UTC

[jira] [Commented] (FLINK-24310) A bug in the BufferingSink example in the doc

    [ https://issues.apache.org/jira/browse/FLINK-24310?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17435363#comment-17435363 ] 

Fabian Paul commented on FLINK-24310:
-------------------------------------

Fix on master with e40b5c83d43a041b48839008cd6b5fa4b24b4132 and 1.13 fec8431385da4a4d291ab12a08cd553f8fa88a2c

> 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
>    Affects Versions: 1.14.0, 1.13.3, 1.15.0
>            Reporter: Jun Qin
>            Assignee: Jun Qin
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.15.0, 1.13.4
>
>
> 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:
> {code:java}
> if (bufferedElements.size() == threshold) {{code}
> 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)