[jbossts-issues] [JBoss JIRA] (JBTM-1157) Assign an unique NodeID automatically

Clebert Suconic (JIRA) jira-events at lists.jboss.org
Thu May 3 14:52:17 EDT 2012


    [ https://issues.jboss.org/browse/JBTM-1157?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12690196#comment-12690196 ] 

Clebert Suconic commented on JBTM-1157:
---------------------------------------

If you can have long strings as part of the unique NodeID, a persisted UUID is an easy solution.
                
> 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

        


More information about the jbossts-issues mailing list