bharatviswa504 commented on pull request #1147: URL: https://github.com/apache/hadoop-ozone/pull/1147#issuecomment-651480464
Hi @ChenSammi Thanks for the PR. I too have the same comment as @sodonnel. I think we need to close the DB instance if we get an instance from the cache. And also do you have this version on your deployed cluster https://github.com/apache/hadoop-ozone/commit/a2ab8d6e35f60af9762a191265942071755329be This saves in iterating Db to compute block metadata, and get all the required metadata from db.get(). We have observed this issue during a billion object test. For older containers created before HDDS-3217, we still iterate and set block metadata. (But this fixed a bug, where we used to iterate thrice for open containers) ---------------------------------------------------------------- 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: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: ozone-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: ozone-issues-h...@hadoop.apache.org