]
Amos Feng commented on WFLY-1119:
---------------------------------
[~tomjenkinson] It looks like the default value of node-identifier is "1"
currently. So it needs to check if it equals to the default value and update to the UUID
if true.
Assign an unique NodeID automatically
-------------------------------------
Key: WFLY-1119
URL:
https://issues.jboss.org/browse/WFLY-1119
Project: WildFly
Issue Type: Feature Request
Components: Transactions
Reporter: Clebert Suconic
Assignee: Amos Feng
Priority: Optional
It shouldn't be needed to assign the node-id manually IMO.
You could store the node-id on a file and recover it for subsequent starts.
On hornetQ for instance, we look for the nodeID on a file, if the file doesn't exist
we assign a UUID and write to the file.
In our previous experience UUID would be a best fit to assign the nodes since that was
the only way we could guarantee unique IDs between the nodes.