sumitagrawl commented on PR #5947: URL: https://github.com/apache/ozone/pull/5947#issuecomment-1884078598
> `counter` is `AtomicLong`. Where is the lock? @szetszwo not lock, I mean, while loop keeps waiting (starvation) to set min value, while other threads can keep inc/dec and use (like lock contention) -- 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]
