ashishkumar50 commented on PR #11564: URL: https://github.com/apache/ozone/pull/11564#issuecomment-6338013076
> I can see the motivation for this, but is it worth carrying a 60MB heap overhead forever, when the known bugs are fixed? I don't really know. > > Also why 1M blocks? Why not 100K, or 2M or some other number? What is the logic for the default cache size? We can reduce the cache size from 1M to a lower value as well. The rationale for the default is to retain enough recently processed block IDs to cover at least one OM-to-SCM block-deletion interval, so that duplicate block IDs received within that window can be detected. As duplicates are mostly the recent ones from OM. Current default is 50K keys from OM to SCM and each key can contain multiple blocks. -- 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]
