Structsยง
RowIdGenerator
generates unique row ids using snowflake algorithm as following format:
Constantsยง
- COMPAT_
VNODE_ ๐BITS The number of bits occupied by the vnode part of a row id in the previous version. - TIMESTAMP_
SHIFT_ ๐BITS The number of bits occupied by the vnode part and the sequence part of a row id.
Functionsยง
- bit_
for_ ๐vnode The number of bits occupied by the vnode part of a row id. - Compute vnode from the given row id.