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

Clarification on stale parameter and the requirement for disk persistence.

    XMLWordPrintable

Details

    Description

      In this document, it says "Irrespective of the stale parameter, documents can only be indexed by the system once the document has been persisted to disk. If the document has not been persisted to disk, use of the stale will not force this process. You can use the observe operation to monitor when documents are persisted to disk and/or updated in the index."

      However, in the "stream-based" view section at http://docs.couchbase.com/admin/admin/Views/views-index-updates.html it would say

      "The stale=false view query argument has been enhanced. When an application sends a query that has the stale parameter set to false, the application receives all recent changes to the documents, including changes that haven't yet been persisted to disk. It considers all document changes that have been received at the time the query was received. This means that using the durability requirements or observe feature to block for persistence in application code before issuing the stale=false query is no longer needed."

      If the enhancement only applies to stream-based view, then clarification should be needed at both places saying "for stream-based view, observe feature isn't needed, but for regular views, it is." If the enhancement applies to both type of views, stream based or not, then we have a conflict of information here.

      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)
            dkao David Kao (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty