vtutrinov opened a new pull request, #7419:
URL: https://github.com/apache/ozone/pull/7419

   ## What changes were proposed in this pull request?
   Cache ozone key details for a tiny period to avoid OM spamming with equal 
consequent requests
   
   If you read a huge file through s3g, requests for the same ozone key details 
will be sent to OM. But the response to the requests will be the same. Hence, 
the result of the first request could be cached, and the following requests for 
the key would be redirected to the cache
   
   ## What is the link to the Apache JIRA
   https://issues.apache.org/jira/browse/HDDS-11636
   
   ## How was this patch tested?
   A new unit-test is implemented to check that the key details will be 
retrieved from the cache if consequent requests are called in a short period. 
Existing robot tests check that the cache will be invalidated if the 
key/key_metadata/key_tags are updated.
   


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