[ https://issues.apache.org/jira/browse/SENTRY-457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15074709#comment-15074709 ]
Dapeng Sun commented on SENTRY-457: ----------------------------------- Close this ticket since the discussion is out of time. > Global Sequence ID support for SENTRY high availability > ------------------------------------------------------- > > Key: SENTRY-457 > URL: https://issues.apache.org/jira/browse/SENTRY-457 > Project: Sentry > Issue Type: Sub-task > Reporter: Dapeng Sun > Assignee: Dapeng Sun > Attachments: SENTRY-457-002.patch, SENTRY-457.003.patch, > SENTRY-457.patch > > > As CommitContext contains a sequenceId, it will auto-increment per operation, > In HA environment, we should make it work, also add a distributed counter > * Add CommitContextFactory , use getCommitContext(UUID serverUUID, long > sequenceId) in the factory instead of new CommitContext(UUID serverUUID, long > sequenceId) > * counter.getGlobalSequenceId() will return the Global sequence id -- This message was sent by Atlassian JIRA (v6.3.4#6332)