Atlassian-Cache Replication is not working for Add/Update Event in Data center deployment

We are using atlassian-cache in our jira data center app in AWS. Cache Type is cluster type.

Below is cluster.properties for node 1 and node 2.

JIRA Node 1

jira.node.id = node1
jira.shared.home=/home/ec2-user/shared_data
ehcache.listener.hostName=localhost
ehcache.listener.port=40001

JIRA Node 2

jira.node.id = node2
jira.shared.home=/home/ec2-user/shared_data
ehcache.listener.hostName=localhost
ehcache.listener.port=40002

Below is the cache configuration.

private static CacheSettings CACHE_SETTING = (new CacheSettingsBuilder().unflushable().remote().replicateViaCopy().build());

Cache<String,String> cache = cacheManager.getCache(“setting.cache”, null, CACHE_SETTING);

When cache is updated in Node 1 through add/update event, cache is not reflected/updated in JIRA Node 2 & vice-versa. Can you help us ?

3 Likes

I’m having the same issue, @vinit.shah, have you fix the problem already?

We are having the same problem with cache replication between nodes:(
Does anyone have any tips/solutions?