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

Incorrect default value for config option "this_db.import_filter"

    XMLWordPrintable

Details

    Description

      An undefined import filter allows all documents to be imported.
      This is equivalent to having an import filter that always returns true:

      function(doc) {
          return true;
      }
      

      The documentation incorrectly states the default import filter returns false (excluding all documents)

      There's also no mention of default behaviour on the dedicated Import Filter page:
      https://docs.couchbase.com/sync-gateway/current/import-filter.html

      Reporter: Ben Brooks
      E-mail: ben.brooks@couchbase.com

      Attachments

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

        Activity

          People

            Ian.bridge Ian Bridge
            ben.brooks Ben Brooks
            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