nickva commented on PR #5698: URL: https://github.com/apache/couchdb/pull/5698#issuecomment-3397865115
I went with a binary hex representation to keep a bit shorter. Binary is ideal, and I used it in purge case, but since these are emitted and used in json they are hex like others. The RFC mentions the database case as: https://www.rfc-editor.org/rfc/rfc9562#name-dbms-and-database-considera > Thus, where feasible, UUIDs SHOULD be stored within database applications as the underlying 128-bit binary value. Since we're generating these with the idea of using in document IDs primarily, I don't mind keeping them has hex-encoding binaries (like other UUIDs we have) or even better if we could base32 encode them (base64 is somewhat ambiguous as there is the url vs regular base64 encoding). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
