GitHub user lei-xia opened a pull request:
https://github.com/apache/helix/pull/158
Fail rebalance pipeline and retry if the data load from zookeeper fails in
any read/batch-read calls.
1. Fail rebalance pipeline and retry if the data load from zookeeper fails
in any read/batch-read calls.
2. Add new batch read API into ZkDataAccessor which will throw an exception
if at least one of path is failed to read in the list. The existing API just
ignores the read failure and fills the entry with null for unread data.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/lei-xia/helix fail_rebalance
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/helix/pull/158.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 #158
----
commit 5c73b32c1e6ea176e66176ede3daa6ed5f2ceaeb
Author: Junkai Xue <jxue@...>
Date: 2018-02-21T00:41:27Z
Add new API for getProperty and get
These new APIs will perform different behavior as before. It will throw an
exception if throwException flag set to be true and at least one of path is
failed to read in the list. Previous behavior is ignoring the read failure and
filled with null for unread data.
commit f3cd7565bc6fbf4ca32b57dc910477e4a7b83b52
Author: Lei Xia <lxia@...>
Date: 2018-03-25T03:29:36Z
Fail rebalance pipeline and retry if the data load from zookeeper fails in
any read/batch-read calls.
----
---