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 26D56200C05 for ; Mon, 23 Jan 2017 19:31:03 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 256F4160B49; Mon, 23 Jan 2017 18:31:03 +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 6FD11160B3C for ; Mon, 23 Jan 2017 19:31:02 +0100 (CET) Received: (qmail 73726 invoked by uid 500); 23 Jan 2017 18:31:01 -0000 Mailing-List: contact user-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@flink.apache.org Delivered-To: mailing list user@flink.apache.org Received: (qmail 73717 invoked by uid 99); 23 Jan 2017 18:31:01 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Jan 2017 18:31:01 +0000 Received: from mail-it0-f41.google.com (mail-it0-f41.google.com [209.85.214.41]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id CF66B1A018B for ; Mon, 23 Jan 2017 18:31:00 +0000 (UTC) Received: by mail-it0-f41.google.com with SMTP id c7so72553302itd.1 for ; Mon, 23 Jan 2017 10:31:00 -0800 (PST) X-Gm-Message-State: AIkVDXIwcghIl2AgSqm39lLpdYMXDMtSnHYWvnGHapOQt3PLGnf+KY4f6M+2AXKviHErUlsklvFv8n7wjiRpnA== X-Received: by 10.36.10.3 with SMTP id 3mr15479226itw.108.1485196260164; Mon, 23 Jan 2017 10:31:00 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.19.101 with HTTP; Mon, 23 Jan 2017 10:30:59 -0800 (PST) In-Reply-To: References: From: Stephan Ewen Date: Mon, 23 Jan 2017 19:30:59 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Is there any difference between Checkpointed and CheckpointedAsynchronously? To: user@flink.apache.org Content-Type: multipart/alternative; boundary=001a1143e4ce8278410546c7335d archived-at: Mon, 23 Jan 2017 18:31:03 -0000 --001a1143e4ce8278410546c7335d Content-Type: text/plain; charset=UTF-8 Hi! "CheckpointedAsynchronously" was a hint to the system that the state objects could be persisted asynchronously, i.e., that the stateful function could process data concurrently to the persisting operation. However, this path was never implemented, so the hint was never used. Flink 1.2 has not yet added an equivalent interface, because the interface being there without actual support for asynchronous operator state ended up confusing users. Stephan On Mon, Jan 23, 2017 at 3:36 PM, Tao Meng wrote: > Hi all, > When I read the source code about checkpoint, I can't find any > difference between Checkpointed and CheckpointedAsynchronously. I can not > sure that I am correct. The doc about `Asynchronous State Snapshots` > is commented out in markdown file. > I want to know if I am right (there no difference between checkpointed > and checkpintedAsynchronously in release versions.) > > > --001a1143e4ce8278410546c7335d Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi!

"CheckpointedAsynchronously&qu= ot; was a hint to the system that the state objects could be persisted asyn= chronously, i.e., that the stateful function could process data concurrentl= y to the persisting operation.

However, this path = was never implemented, so the hint was never used.

Flink 1.2 has not yet added an equivalent interface, because the interface= being there without actual support for asynchronous operator state ended u= p confusing users.

Stephan


On Mon, Jan 23= , 2017 at 3:36 PM, Tao Meng <oatgnem@gmail.com> wrote:
Hi all,
=C2=A0 =C2=A0When= I read the source code about checkpoint, I can't find any difference= =C2=A0between Checkpointed and CheckpointedAsynchronously. I can not sure t= hat I am correct. The doc about `Asynchronous State Snapshots` is=C2=A0comm= ented out in markdown file.
=C2=A0 I want to know if I am right (= there no difference between checkpointed and checkpintedAsynchronously in r= elease versions.)



--001a1143e4ce8278410546c7335d--