TJX2014 commented on PR #7220:
URL: https://github.com/apache/hudi/pull/7220#issuecomment-1323209514

   > Hi, can you explain what is the gains here ? The instantiation of 
secondary fs view is not costy, the subsequenct requests are, seems not 
necessary we make the instantiation lazy.
   
   @danny0405 the init of secondary will scan hdfs to get instants and 
something else, if there are many write tasks, the cost is huge, the hdfs is 
only one, each task is try to scan the same hdfs. for performace, the init of 
secondaryView is not needed if the info is offered by jm.


-- 
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]

Reply via email to