ID dups with FastUUIDGen
------------------------
Key: AXIS-1943
URL: http://issues.apache.org/jira/browse/AXIS-1943
Project: Axis
Type: Bug
Versions: current (nightly)
Environment: IA-32 PC, GNU/Linux, Fedora Core 3, kernel 2.6.11-1.14_FC3, JDK
1.4.2_06-b03
Reporter: M Kisimoto
Priority: Minor
org.apache.axis.components.uuid.FastUUIDGen
generates (probabilistic) duplicated IDs.
The definition
(http://www.opengroup.org/onlinepubs/9629399/apdxa.htm#tagcjh_20_02_01)
claims to increment sequence, but FastUUIDGen uses
random numbers to update. Because birthday paradox
(http://en.wikipedia.org/wiki/Birthday_paradox),
this cause relatively (very) high possibility of
duplication.
I'll attach fix patch.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira