[
https://issues.apache.org/jira/browse/HDDS-4651?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rui Wang updated HDDS-4651:
---------------------------
Description:
/**
* 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.
*/
> 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: [email protected]
For additional commands, e-mail: [email protected]