lhotari opened a new pull request, #17252:
URL: https://github.com/apache/pulsar/pull/17252

   ### Motivation
   
   - fixes issue with stats where timestamps might be inconsistent because of 
visibility issues
   - most timestamps already are volatile, and it's better to follow this 
approach to prevent field update visibility issues
   - some visibility issues might only be reproducible on certain hardware 
platforms (multiple CPU sockets, multiple NUMA nodes, etc.) so one cannot be 
sure about the behavior unless code is made thread safe
   
   ### Modifications
   
   - make fields volatile


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

Reply via email to