You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Rui Wang (Jira)" <ji...@apache.org> on 2021/01/17 07:49:00 UTC

[jira] [Updated] (HDDS-4651) Implement Distributed Sequence ID Generator

     [ https://issues.apache.org/jira/browse/HDDS-4651?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rui Wang updated HDDS-4651:
---------------------------
    Summary: Implement Distributed Sequence ID Generator   (was: Implement 'Distributed Sequence ID Generator )

> Implement Distributed Sequence ID Generator 
> --------------------------------------------
>
>                 Key: HDDS-4651
>                 URL: https://issues.apache.org/jira/browse/HDDS-4651
>             Project: Hadoop Distributed Data Store
>          Issue Type: Sub-task
>            Reporter: Rui Wang
>            Assignee: Rui Wang
>            Priority: Major
>              Labels: pull-request-available
>
> /**
>  * SequenceIDGenerator uses higher 30 bits to save the term, and lower 34 bits
>  * to save a count (increase from 0). Each call of nextID() will increase the
>  * count on the lower 34 bits by 1, thus SequenceIDGenerator always generates
>  * unique number within a specific term.
>  */



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org