yuangu002 commented on pull request #2489:
URL: https://github.com/apache/ozone/pull/2489#issuecomment-894593288


   [Fix]
   1. Addressed comments.
   2. Optimized listKeys by seek() and DFS. No full iteration on FileTable 
except root level
   3. Added a unit test for the case that a key spanning across multiple blocks 
and some of containers are under/over-replicated
   
   [Future works]
   1. 
https://github.com/yuangu002/ozone/blob/HDDS-5449/hadoop-ozone/recon/src/main/java/org/apache/hadoop/ozone/recon/api/NSSummaryEndpoint.java#L228
   2. 
https://github.com/yuangu002/ozone/blob/HDDS-5449/hadoop-ozone/recon/src/main/java/org/apache/hadoop/ozone/recon/api/NSSummaryEndpoint.java#L907
   3. Change `numOfFiles` in `NSSummary` from `int` to `long`


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