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?
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks a lot for your comment.
Could you please check my usecase below?
We have 2 nodes (node A and node B)
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 B)
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.