You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sentry.apache.org by "Dapeng Sun (JIRA)" <ji...@apache.org> on 2014/11/12 13:48:33 UTC
[jira] [Updated] (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 ]
Dapeng Sun updated SENTRY-457:
------------------------------
Attachment: SENTRY-457.003.patch
> 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)