GitHub user tillrohrmann opened a pull request:
https://github.com/apache/flink/pull/3452
[backport-1.1] [FLINK-5942] [checkpoint] Harden ZooKeeperStateHandleStore
to handle corrupt data
Backport of #3447 onto `release-1.1` branch.
If calling ZooKeeperStateHandleStore.getAll or getAllSortedByName as the
ZooKeeperCompletedCheckpointStore does in the recovery case, the operation
will fail
if there exists a Znode with corrupted data. This will break Flink's
recovery
mechanism, because it will read this node over and over again. In order to
solve this
problem, this commit changes the behaviour such that it ignores corrupted
Znodes it
cannot read.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/tillrohrmann/flink
hardenZooKeeperStateHandleStoreBp1.1
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/3452.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 #3452
----
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---