When the cache data replication occurs between nodes ?
example : we have 2 nodes (node 1 and node 2)
If we store any data in node 1 cache, will it automatically replicate to node 2 ?
Could you please explain?
Hi @SyedAhmedKabeer
Yes, it will automatically be replicated to node 2. Cache data replication between nodes is managed asynchronously. It means that, when data is stored in the cache on Node 1, the modification is replicated to Node 2 with a possible slight delay.
Here is the official documentation regarding the cache replication.
Hi @Tuncay Senturk _Snapbytes_
Thanks a lot for your comment.
Could you please check my usecase below?
We have 2 nodes (node A and node
1. JIRA escalation service job will be executed every night to cache the huge data.
2. Job will be executed on any node (node A or node
3. Assume, the job is executed on node A. Then all the data is cached properly (works fine)
if we open the page (customized page via ) on node A , loads fastly
sample code:
using replicateViaInvalidation
new CacheSettingsBuilder().replicateViaInvalidation().expireAfterAccess(6, TimeUnit.DAYS).build()
5. But the data sync is not working on node B
Note: No modifications
if we open the page on node B , not loads fastly
Is this escalation service job your own script? If yes, are you using Atlassian cache in that code/script? If not they cannot replicate data between nodes.
Hi @Tuncay Senturk
Yes, I am using groovy script to invoke REST API Call in JIRA escalation service job.
and I have written the atlassian-cache logic in REST
It looks like you're new here. Sign in or register to get started.