[
https://issues.jboss.org/browse/JBTM-1157?page=com.atlassian.jira.plugin....
]
Tom Jenkinson commented on JBTM-1157:
-------------------------------------
Hi Clebert, you might have missed this on IRC, but unfortunately we can't because the
nodeID has to be part of the XID and we are bounded by 64bits for gtrid and 64 for bqual.
A UUID is 128 on its own :'(
Assign an unique NodeID automatically
-------------------------------------
Key: JBTM-1157
URL:
https://issues.jboss.org/browse/JBTM-1157
Project: JBoss Transaction Manager
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Reporter: Clebert Suconic
Assignee: Tom Jenkinson
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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira