Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 5080C200BE8 for ; Thu, 8 Dec 2016 11:35:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 4F34E160B1E; Thu, 8 Dec 2016 10:35:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id A1E24160B2C for ; Thu, 8 Dec 2016 11:34:59 +0100 (CET) Received: (qmail 15132 invoked by uid 500); 8 Dec 2016 10:34:58 -0000 Mailing-List: contact issues-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flink.apache.org Delivered-To: mailing list issues@flink.apache.org Received: (qmail 15112 invoked by uid 99); 8 Dec 2016 10:34:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Dec 2016 10:34:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 89B402C03ED for ; Thu, 8 Dec 2016 10:34:58 +0000 (UTC) Date: Thu, 8 Dec 2016 10:34:58 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@flink.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FLINK-5285) CancelCheckpointMarker flood when using at least once mode MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 08 Dec 2016 10:35:00 -0000 [ https://issues.apache.org/jira/browse/FLINK-5285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15731799#comment-15731799 ] ASF GitHub Bot commented on FLINK-5285: --------------------------------------- GitHub user tillrohrmann opened a pull request: https://github.com/apache/flink/pull/2963 [FLINK-5285] Abort checkpoint only once in BarrierTracker Prevent an interleaved sequence of cancellation markers for two consecutive checkpoints to trigger a flood of cancellation markers for down stream operators. This is done by aborting each checkpoint only once and don't re-create checkpoint barrier counts for already aborted checkpoints. cc @StephanEwen You can merge this pull request into a Git repository by running: $ git pull https://github.com/tillrohrmann/flink fixCheckpointBarrierCancellation Alternatively you can review and apply these changes as the patch at: https://github.com/apache/flink/pull/2963.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #2963 ---- commit cbf0d6c30a29536315979502b1e8728971441bdf Author: Till Rohrmann Date: 2016-12-07T18:05:47Z [FLINK-5285] Abort checkpoint only once in BarrierTracker Prevent an interleaved sequence of cancellation markers for two consecutive checkpoints to trigger a flood of cancellation markers for down stream operators. This is done by aborting each checkpoint only once and don't re-create checkpoint barrier counts for already aborted checkpoints. Add test case ---- > CancelCheckpointMarker flood when using at least once mode > ---------------------------------------------------------- > > Key: FLINK-5285 > URL: https://issues.apache.org/jira/browse/FLINK-5285 > Project: Flink > Issue Type: Bug > Components: State Backends, Checkpointing > Affects Versions: 1.2.0, 1.1.3 > Reporter: Till Rohrmann > Assignee: Till Rohrmann > Fix For: 1.2.0, 1.1.4 > > > When using at least once mode ({{BarrierTracker}}), then an interleaved arrival of cancellation barriers at the {{BarrierTracker}} of two consecutive checkpoints can trigger a flood of {{CancelCheckpointMarkers}}. > The following sequence is problematic: > {code} > Cancel(1, 0), > Cancel(2, 0), > Cancel(1, 1), > Cancel(2, 1), > Cancel(1, 2), > Cancel(2, 2) > {code} > with {{Cancel(checkpointId, channelId)}} -- This message was sent by Atlassian JIRA (v6.3.4#6332)