sokui commented on PR #3835:
URL: https://github.com/apache/ozone/pull/3835#issuecomment-1291541939

   > Thanks @sokui for your comments. On the errors you mention that may happen 
when using the map for both ip and hostnames mapping to UUIDs of DNs,
   > 
   > > If the map holds both IPs and Hostnames at all times, as it maps 
hostname / IP to the DNs, there will be the same UUID occurs in different keys' 
value sets causing a sequence of unknown errors.
   > 
   > Can you give some detail on this? Where this can cause problems?
   
   @neils-dev , I did not mean your solution will have problems in this case. I 
just try to reminder you to be careful of this case. When the variable/method 
named as hostname, people may assume it is just the hostname not IP, but in 
some case it is not true. So far in this PR, I do not think this is an issue.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to