Ensure cache miss logging works in concurrent setting (#2391)
This commit ensures that logging for cache miss should be displayed
properly when multiple threads execute `get_or_load` concurrently.
Specifically, the log should be displayed only once for the first thread
that succeeds in populating a cache value.
Co-authored-by:
Yuki Saito <awsaito@amazon.com>
Loading
Please register or sign in to comment