Data entries do not get replicated to the other cluster when importing data into a WAN enabled cluster
search cancel

Data entries do not get replicated to the other cluster when importing data into a WAN enabled cluster

book

Article ID: 294368

calendar_today

Updated On:

Products

VMware Tanzu Gemfire

Issue/Introduction

You have two clusters (A and B) connected through WAN and when you import region data into the cluster, you expect to see the imported data replicated to cluster B but no replication was triggered. Why?

Environment

Product Version: 1.10

Resolution

During data import, callbacks are disabled by default and no cache events are generated for WAN replication. This makes sense if you consider the case where you import data from cluster B into cluster A and don't want this imported data to be replicated again to cluster B, from which the data came.

However, in some other cases, enabling WAN replication during data import is desirable and this can be achieved by setting the 'invoke-callbacks' flag to true in the import command.

For example:
import data --region=XXXX --file=XXX --member=XXX --invoke-callbacks=true

Note: Be aware that triggering WAN replication during a huge data import can overload the system and lead to an unstable state if not enough computing resources are allocated.