Keyur Karnik created USERGRID-1355:
--------------------------------------

             Summary: Dissociate akka based Unique Value checks across regions 
for a multi region distributed cluster using Qakka
                 Key: USERGRID-1355
                 URL: https://issues.apache.org/jira/browse/USERGRID-1355
             Project: Usergrid
          Issue Type: Improvement
          Components: Stack
    Affects Versions: 2.2.0
            Reporter: Keyur Karnik
            Assignee: Keyur Karnik
             Fix For: 2.2.0


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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to