elasticsearch
elasticsearch copied to clipboard
Avoid cache io field volatile accesses
The blob cache has an io field per region that is declared volatile, since it is originally null and then later initialized. However, during "tryRead" we do not need the volatile access. This commit changes the field to be non-volatile and used proper volatile accesses only when needed.
Alternative to #112134