You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@flink.apache.org by Kien Truong <du...@gmail.com> on 2017/10/11 08:31:13 UTC
Delete save point when using incremental checkpoint
Hi,
When using increment checkpoint mode, can I delete the save point that the job recovered from after sometime ? Or do I have to keep that checkpoint forever because it's a part of the snapshot chain ?
Best regards,
Kien
Re: Delete save point when using incremental checkpoint
Posted by Kien Truong <du...@gmail.com>.
Thanks Stephan. That's exactly what I was asking about.
Best regards,
Kien
On Oct 11, 2017, 16:59, at 16:59, Stephan Ewen <se...@apache.org> wrote:
>Kien,
>
>I think what you are asking is: Do incremental checkpoints refer to
>chunks
>of state in a previous savepoint. Meaning that if the savepoint is
>deleted,
>will the checkpoint be missing some chunks.
>
>The answer is: No, savepoints are always full snapshots and incremental
>checkpoints do not reference and savepoint state chunks.
>
>Stephan
>
>
>On Wed, Oct 11, 2017 at 10:54 AM, Chesnay Schepler <ch...@apache.org>
>wrote:
>
>> Hi,
>>
>> There is an important distinction between checkpoints (triggered by
>Flink,
>> may be incremental) and savepoints (manually triggered, always
>> self-contained).
>>
>> Your question is unfortunately mixing both terms, please expand which
>> you're referring to.
>>
>> Regards,
>> Chesnay
>>
>>
>> On 11.10.2017 10:31, Kien Truong wrote:
>>
>>> Hi,
>>>
>>> When using increment checkpoint mode, can I delete the save point
>that
>>> the job recovered from after sometime ? Or do I have to keep that
>>> checkpoint forever because it's a part of the snapshot chain ?
>>>
>>> Best regards,
>>> Kien
>>>
>>
>>
>>
Re: Delete save point when using incremental checkpoint
Posted by Stephan Ewen <se...@apache.org>.
Kien,
I think what you are asking is: Do incremental checkpoints refer to chunks
of state in a previous savepoint. Meaning that if the savepoint is deleted,
will the checkpoint be missing some chunks.
The answer is: No, savepoints are always full snapshots and incremental
checkpoints do not reference and savepoint state chunks.
Stephan
On Wed, Oct 11, 2017 at 10:54 AM, Chesnay Schepler <ch...@apache.org>
wrote:
> Hi,
>
> There is an important distinction between checkpoints (triggered by Flink,
> may be incremental) and savepoints (manually triggered, always
> self-contained).
>
> Your question is unfortunately mixing both terms, please expand which
> you're referring to.
>
> Regards,
> Chesnay
>
>
> On 11.10.2017 10:31, Kien Truong wrote:
>
>> Hi,
>>
>> When using increment checkpoint mode, can I delete the save point that
>> the job recovered from after sometime ? Or do I have to keep that
>> checkpoint forever because it's a part of the snapshot chain ?
>>
>> Best regards,
>> Kien
>>
>
>
>
Re: Delete save point when using incremental checkpoint
Posted by Chesnay Schepler <ch...@apache.org>.
Hi,
There is an important distinction between checkpoints (triggered by
Flink, may be incremental) and savepoints (manually triggered, always
self-contained).
Your question is unfortunately mixing both terms, please expand which
you're referring to.
Regards,
Chesnay
On 11.10.2017 10:31, Kien Truong wrote:
> Hi,
>
> When using increment checkpoint mode, can I delete the save point that
> the job recovered from after sometime ? Or do I have to keep that
> checkpoint forever because it's a part of the snapshot chain ?
>
> Best regards,
> Kien