Hi  Bajaj
     Savepoint does contain the metadata and data in Flink 1.10, it does
not need to reference any checkpoint data.
Best,
Congxian


Bajaj, Abhinav <abhinav.ba...@here.com> 于2020年11月17日周二 上午8:58写道:

> Hi,
>
>
>
> I am trying to understand the Flink 1.10 savepoints related documentation
> <https://ci.apache.org/projects/flink/flink-docs-release-1.10/ops/state/savepoints.html#triggering-savepoints>
> that mentions -
>
> *“**When triggering a savepoint, a new savepoint directory is created
> where the data as well as the meta data will be stored.**”*
>
>
>
> However, I came across this issue -
> https://issues.apache.org/jira/browse/FLINK-5763 which mentions the
> problem -
>
> *“**For file system based checkpoints (FsStateBackend,
> RocksDBStateBackend) this results in the savepoint referencing files from
> the checkpoint directory (usually different than <target>)**”*
>
>
>
> My understanding of the issue is that savepoints were not storing the data
> and were pointing to checkpoints for actual state data.
>
> The issue has been fixed and changes made into Flink 1.11.
>
>
>
> But, I would like to get the behavior for Flink 1.10 confirmed.
>
>
>
> Does savepoint in Flink 1.10 store both the data & metadata? OR it has
> references to checkpoints & need access to checkpoints directory to restore
> state?
>
>
>
> Thanks much,
>
> Abhinav Bajaj
>

Reply via email to