Uploaded image for project: 'Usergrid (Retired)'
  1. Usergrid (Retired)
  2. USERGRID-1355

Dissociate akka based Unique Value checks across regions for a multi region distributed cluster using Qakka

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.2.0
    • 2.2.0
    • Stack
    • None

    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.

      Attachments

        Activity

          People

            keyurkarnik Keyur Karnik
            keyurkarnik Keyur Karnik
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: