kaijchen commented on PR #3379: URL: https://github.com/apache/ozone/pull/3379#issuecomment-1123092064
> Let's say if cache has elements like 0 101 102 .......1125..... > But they may be loaded in different order into TreeMap....what if they loaded 101....1124 = 1024 > Now we will go through the dirTable and it has 1-100. So, the tempCache is having 1....1124. Now we need only 1024. So, it should pick 1...1024. In this case, the first iteration should do: 1. `cache.seek(FIRST)` = `0` 2. `db.seek(FIRST)` = `1` Then `0 - 1023` will be the result of the first iteration. -- 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]
