flink-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chesnay Schepler <ches...@apache.org>
Subject Re: Need a clarification about removing a stateful operator
Date Fri, 17 Aug 2018 06:38:45 GMT
The state won't exist in the snapshot.

On 17.08.2018 04:38, Tony Wei wrote:
> Hi all,
>
> I'm confused about the description in documentation. [1]
>
>   * *Removing a stateful operator:*The state of the removed operator
>     is lost unless
>     another operator takes it over. When starting the upgraded
>     application, you have
>     to explicitly agree to discard the state.
>
> Does that mean if I take a full snapshot (e.g. savepoint) after 
> restoring by explicitly agreeing to
> discard the state, then the state won't exist in that snapshot? Or 
> does it just mean ignore the
> state but the state still exist forever, unless I explicitly purge 
> that state by using state operator?
>
> And could this behavior differ between different state backend 
> (Memory, FS, RocksDB) ?
>
> Many thanks,
> Tony Wei
>
> [1] 
> https://ci.apache.org/projects/flink/flink-docs-master/ops/upgrading.html#application-topology



Mime
View raw message