Skip to content

Default UUID generation method. #3311

Answered by nickva
zim32 asked this question in Q&A
Dec 23, 2020 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

The default uuid generation algorithm is "sequential". It generates a random prefix on each CouchDB node and keeps it as state. With each uuid, it increments a suffix at the end with a random increment. The random prefix changes when either a node is restarted or after the increment overflows .

https://github.com/apache/couchdb/blob/main/rel/overlay/etc/default.ini#L450-L453

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@zim32
Comment options

@nickva
Comment options

@zim32
Comment options

Answer selected by kocolosk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants