Is cache eviction due to timed expiration replicated between nodes?

Hi,

I have a couple of questions about Atlassian Cache in Jira DC.

  1. When a plugin is loading some data on one node into cache, does it trigger the same action on other nodes? Or cache loading in independent?
  2. If we have a cache with timed expiration like below, I get that .remove() operation are replicated between nodes. But what happens when cache is evicted due to time expiration? Is this replicated as well?
cacheManager.getCache(
          getClass().getName() + ".cache", 
          this::loadValueForKey, 
          new CacheSettingsBuilder()
                .remote()
                .expireAfterAccess(30, TimeUnit.MINUTES)
                .replicateViaInvalidation()
                .build() // replicated via invalidation
);
1 Like