Skip to content

Modify MySqlSequentialGuidValueGenerator to specify more accurate version introduced in newer RFC 9562 #1997

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
lauxjpn opened this issue Apr 14, 2025 · 0 comments

Comments

@lauxjpn
Copy link
Collaborator

lauxjpn commented Apr 14, 2025

Our current implementation of MySqlSequentialGuidValueGenerator references the now obsolete RFC 4122, which has been superseded by RFC 9562.

RFC 9562 introduces additional standard versions, of which 6 and 7 are database optimized UUID variants and 8 is a custom UUID variant.

We currently use version 4 (random) for all cases and should consider modifying our implementation to indicate the appropriate newer version instead (which might be 8 in the case of MySqlGuidFormat.LittleEndianBinary16, see RFC 9562: 6 - UUID Best Practices: 6.11 - Sorting).

This came up in #1996.

@lauxjpn lauxjpn added this to the 9.0.0 milestone Apr 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant