Re:A Brief History of the UUID
by reitanqild on Wednesday June 07, 2017 @04:54PM
(#14509777)
I have heard people laugh at the risk of UUID collisions and thought we were safe but heard two years ago that a consulting company I worked with had seen real issues with UUID collisions on a production system.
Re:A Brief History of the UUID
by treebeard901 on Wednesday June 07, 2017 @05:35PM
(#14510053)
I doubt many people would argue with the math behind modern uuid generation functions.
Those of us that have been around for a while know the problem can come from the implementation and the storage for the UUID.
For example: Bugs in code that may generate a unique ID once and then use it multiple places.
Imaged OS installations that may cause a UUID to be duplicated
Spoofing another ID for malicious reasons
Accidental database update statement
People tend to give UUIDs magical properties but it needs to be treated similar to an unique integer.
If you are using uuid generation that uses MAC address and time stamp, then you can have problems with multiple processes generating uuid for the same system. There are other uuid generation algorithms though.
Maybe we should just admit that no amount of poetic hyperbole like "until an alien invasion" will quell our innate fear of having uuid that will collide.