You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sentry.apache.org by "Prasad Mujumdar (JIRA)" <ji...@apache.org> on 2014/11/18 04:18:33 UTC
[jira] [Issue Comment Deleted] (SENTRY-457) Global Sequence ID
support for SENTRY high availability
[ https://issues.apache.org/jira/browse/SENTRY-457?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Prasad Mujumdar updated SENTRY-457:
-----------------------------------
Comment: was deleted
(was: +1
)
> 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)