Rearrange fields of InternalUuidGenerator struct to fit atomic alignment requirements

This commit is contained in:
vigdail
2023-04-20 19:39:38 +06:00
parent a96eb31dc9
commit 9e6271b1dc
+1 -1
View File
@@ -35,8 +35,8 @@ type InternalUuidInfo struct {
// InternalUuidGenerator represents internal bundled uuid generator
type InternalUuidGenerator struct {
uuidServerId uint8
uuidSeqNumbers [1 << internalUuidTypeBits]uint64
uuidServerId uint8
}
// NewInternalUuidGenerator returns a new internal uuid generator