linyiqun commented on issue #480: HDDS-2927. Cache EndPoint tasks instead of creating them all the time in RunningDatanodeState URL: https://github.com/apache/hadoop-ozone/pull/480#issuecomment-577479365 Thanks for the review @adoroszlai . Actually I was thinking about there will be multiple endpoints here. If we just construct <State, EndPointTask> cache mapping, the same state of some other end point task will be override. But seems current logic is still not correct. I do a minor change to construct <EndPoint Adderess, <EndPointState, EndPointTask>> mapping. This mapping should be right now.
---------------------------------------------------------------- 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. 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]
