wxbty opened a new pull request, #11842:
URL: https://github.com/apache/dubbo/pull/11842

   ## What is the purpose of the change
   
   bugfix: In the case of metrics, the occasional index key is NaN.
   reason: The Gauge of the micrometer use the application obj as a weak 
reference, and the EntryKey traversed by ConcurrentHashMap is not the same 
instance every time.
   
   ## Brief changelog
   
   use an instance that will not be gc as the application obj
   
   ## Verifying this change
   
   The consumer calls the provider interface 100 times in a loop, and the 
problem must occur. After modification, NaN no longer appears


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