LiJie20190102 opened a new pull request, #8778:
URL: https://github.com/apache/hudi/pull/8778

   ### Change Logs
   
   Avoids acquiring a lock to check whether a value is present in a cache to 
allow better performance when the value is already in the cache.
   
   ### Impact
   
   1、This provide a minor improvement in execution time.
   2、When executing 'registry. register (metricName, lockDuration);' on line 79 
When using the method, avoid errors caused by the existing key. The reasons are 
as follows:
   
![image](https://github.com/apache/hudi/assets/53458004/48a42e5e-9f13-4ee8-846b-1a8f95344b1d)
   
   
   ### Risk level (write none, low medium or high below)
   
   NONE
   
   ### Documentation Update
   
   NA
   
   ### Contributor's checklist
   
   - [ ] Read through [contributor's 
guide](https://hudi.apache.org/contribute/how-to-contribute)
   - [ ] Change Logs and Impact were stated clearly
   - [ ] Adequate tests were added if applicable
   - [ ] CI passed
   


-- 
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: commits-unsubscr...@hudi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to