You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The MUID contains the timestamp and an ID. If two MUIDs of the same type should be created by the same server (sourceID) within the same second the ID will be used to distinguish between those MUIDs.
Now if a server is moved to another machine which has a slow clock, it might happen that a MUID is created with a timestamp and ID that already exists.
Therefore the MUID creating servers should do following:
The current unix time should be persistently saved to a file about every 10 seconds
During runtime the maximum ID MAX_ID will be stored at the same file. This will only trigger a disk I/O if more MUIDs have been created within one second than ever before.
After bootup MUIDs will be created normally if the current time is later than the time read in the persistent file at bootup
If the current unix time is before the read time in the file, every created MUID will get an ID = MAX_ID+1 read from the persistent file at startup
The text was updated successfully, but these errors were encountered:
The MUID contains the timestamp and an ID. If two MUIDs of the same type should be created by the same server (sourceID) within the same second the ID will be used to distinguish between those MUIDs.
Now if a server is moved to another machine which has a slow clock, it might happen that a MUID is created with a timestamp and ID that already exists.
Therefore the MUID creating servers should do following:
The text was updated successfully, but these errors were encountered: