Guid does not generate unique IDs
[admin generate] [generate] [generate verilog] [GUID] [ids] [unique] [vhdl generate]
Symptom
Guid does not generate unique IDs
Other terms
GUID, unique, generate, IDs
Reason and Prerequisites
The SecureRandom used in the GUID generator uses a specific seed (the system long time hashed (XOR-ed) with the 32-bit hashcode of a newly created object), which produces only 32-bit seed instead of the 64-bit expected by the SecureRandom generator.
This is the reason why duplicate GUIDs are generated.
Solution
A new feature enables a new generation algorithm that is highly unique compared to the previous generation algorithms. The new algorithm generates GUIDs based on the clusterID of the cluster participants within a cluster, the timestamp and a random-generated number that is generated with a non-deterministic approach. This new feature will be useful if unique GUIDs are needed in a single cluster environment. The new feature will not provide such uniqueness in multi-cluster environments. It does not affect the previous usages of the GUID generation.
The new feature is implemented in SAP NetWeaver 7.1 EHP 1 SP 4 version
and above.
For SAP NetWeaver 7.1 EHP 1 SP 2 and SP 3 we have provided a hotfix.
To apply the feature, follow these steps:
1. Download the SERVERCORE0
-> SAP NetWeaver
-> SAP NETWEAVER
-> SAP NETWEAVER CE 7.1
-> Entry by Component
-> Java Application Server
J2EE ENGINE SERVERCORE 7.11
OSINDEP
SERVERCORE02P patch #.. (SP-level #02) SERVERCORE02P patch #.. (SP-level #03)
2. Deploy the SCA.
3. Implement the new methods.