imay commented on issue #315: FE Catalog should know the path info of each 
replica in BE
URL: https://github.com/apache/incubator-doris/issues/315#issuecomment-438939967
 
 
   > @imay
   > List is not easy to use. We need to do the diff between metadata and 
backend, by using some map's method such as 'containsKey'.
   
   You can convert list to a map only contain what you want.
   
   > Rebuild map from list may cost more time, and some info, such as path, are 
redundant, which may cause a large report data pack.
   
   I don't think this will cost more time, because RPC should do this either. 
Even more you can construct a map to content in the list, which may be a 
pointer or reference.
   
   Anyway, I think we should separate our code logical from RPC protocol. 
Otherwise it will be a nightmare when want to change our protocol.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to