Description
To setup a Qakka cluster across multiple regions, we need to enable the following settings
usergrid.cluster.enabled
usergrid.cluster.seeds (add multiple regions and seed ips)
elasticsearch.queue_impl=DISTRIBUTED
Doing so sets up the Akka cluster across region but it has some side effects
collection.uniquevalues.usecluster setting which is true by default comes into play, so all unique value checks start using Akka. To compound it, if Akka is multi region, it coordinates with all Akka remote clusters as well. This may not be intended and there is no way to stop this (just the remote checks)
To resolve this :
Set the collection.uniquevalues.usecluster to false by default
Create a new config that can restrict UniqueValue checks and Akka chatter to the local cluster only.