diff --git a/core/src/main/java/org/elasticsearch/common/cache/Cache.java b/core/src/main/java/org/elasticsearch/common/cache/Cache.java index c14a71072b4..004f5388557 100644 --- a/core/src/main/java/org/elasticsearch/common/cache/Cache.java +++ b/core/src/main/java/org/elasticsearch/common/cache/Cache.java @@ -145,7 +145,7 @@ public class Cache { final K key; final V value; long writeTime; - long accessTime; + volatile long accessTime; Entry before; Entry after; State state = State.NEW;