[
https://issues.apache.org/jira/browse/SENTRY-1428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15784983#comment-15784983
]
Alexander Kolbasov commented on SENTRY-1428:
--------------------------------------------
Most of the patch is actually the rework of the Leader/Follower implementation
from SENTRY-1317. It turns out that the original implementation is way more
complicated then necessary.
As art of the cleanup I also removed Fencer support from the leader/follower
lofic since we are no longer dependent on fencing.
Also I discovered a problem - after ZK shutdown and restart the leader is no
longer elected. Upgrading to curator version 2.11.1 seems to fix the problem.
> Only leader should follow HMS updates
> -------------------------------------
>
> Key: SENTRY-1428
> URL: https://issues.apache.org/jira/browse/SENTRY-1428
> Project: Sentry
> Issue Type: Sub-task
> Components: Core
> Affects Versions: sentry-ha-redesign
> Reporter: Sravya Tirukkovalur
> Assignee: Alexander Kolbasov
> Fix For: sentry-ha-redesign
>
> Attachments: SENTRY-1428.001.patch
>
>
> Only active needs to follow, and when ever leadership changes, new leader
> should start following and passive should stop following.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)