Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-6837

Add missing details to documentation regarding automated index updates

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 2.0
    • None
    • None
    • Security Level: Public
    • None

    Description

      The page at:

      http://www.couchbase.com/docs/couchbase-manual-2.0/couchbase-views-operation-autoupdate.html

      Misses some important details:

      • if updateMinChanges is set to 0 (zero), then automatic updates are disabled for main indexes;
      • if replicaUpdateMinChanges is set to 0 (zero), then automatic updates are disabled for replica indexes;
      • the updateMinChanges and replicaUpdateMinChanges can have a per ddoc granularity (by defining them in the ddocs' body)

      See:

      http://hub.internal.couchbase.com/confluence/display/QA/Debugging+view+engine+issues+and+reporting+them?focusedCommentId=5931509&#Debuggingviewengineissuesandreportingthem-section13

      Also, minor detail, the page shows invalid JSON:

      { "updateInterval":5000, "updateMinChanges":5000, "replicaUpdateMinChanges":5000, }

      The last field shouldn't have a comma following its value.

      Another detail is that the text mention that a POST is used to configure the settings, but the blue box exemplifying it shows a GET.

      Attachments

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

        Activity

          People

            mccouch MC Brown (Inactive)
            FilipeManana Filipe Manana (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty