uschindler commented on PR #16865:
URL: https://github.com/apache/lucene/pull/16865#issuecomment-6272332506

   The problem with cache invalidation can also be prevented by using the 2-arg 
`updateAndGet()`, possibly by passing -1, so it only updates when the value is 
"-1" (sentinel). If it was updated by someone else, the value won't change.


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