[ https://forge.continuent.org/jira/browse/HEDERA-8?page=all ]
Nuno Carvalho resolved HEDERA-8:
--------------------------------
Resolution: Fixed
Previous impl called InetWithPort.toString, that used the getHostName(). This
could lead to different results between machines, even when representing the
same IP address. I changed the uid to
InetWithPort.host.getHostAddress()+":"+InetWithPort.port. This should be
deterministic and consistent between sites.
> InetAddress.toString should not be used to define a UID of a Hedera member.
> ---------------------------------------------------------------------------
>
> Key: HEDERA-8
> URL: https://forge.continuent.org/jira/browse/HEDERA-8
> Project: Hedera
> Type: Bug
> Environment: Windows XP, over a WAN. No Multicast. The gossip server is used
> and Appia delivers views correctly.
> Reporter: Nuno Carvalho
> Assignee: Nuno Carvalho
>
>
> The UID of a member is used as identifier upon message reception. I used the
> toString method, that could give different information for the same IP
> address. It should be used a more predictable identifier from the InetAddress
> class.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://forge.continuent.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
_______________________________________________
Hedera mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/hedera