Uploaded image for project: 'Couchbase Documentation'
  1. Couchbase Documentation
  2. DOC-877

replication section should also contain an example of how to place redundant replicass across multiple nodes

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • 4.0
    • None
    • None

    Description

      this is what the replication section should say;

      Replication
      GSIs are not automatically replicated. They must be defined on other index service nodes for high-availability. To create a replica of a GSI, you can create the identical index definition with unique index names under 2 nodes. Queries will load balance across the indexes and if one of the indexes become unavailable, all requests are rerouted to the available remaining index. You can create more than 2 copies of the index for better redundency and load balancing.

      CREATE INDEX productName_index1 ON bucket_name(productName, ProductID) WHERE type="product" USING GSI WITH

      {"nodes":"node1:8091"}

      ;

      CREATE INDEX productName_index2 ON bucket_name(productName, ProductID) WHERE type="product" USING GSI WITH

      {"nodes":"node2:8091"}

      ;

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            amarantha.kulkarni Amarantha Kulkarni (Inactive)
            cihan Cihan Biyikoglu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty