sentry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dapeng Sun (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SENTRY-457) Global Sequence ID support for SENTRY high availability
Date Mon, 27 Oct 2014 07:09:34 GMT

     [ 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-002.patch

Updated the patch according feedback in RB

> 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.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)

Mime
View raw message