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

DOC : Clarify the view behavior on expired items and views

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 3.0
    • 2.1.0, 2.2.0
    • view-engine
    • Security Level: Public
    • None
    • Tested on OS X

    Description

      In the following page:
      http://docs.couchbase.com/couchbase-manual-2.2/#how-expiration-impacts-views

      It is stated that when an item is expired and the view is called with "include_docs=true" the doc in the view will be null.

      In fact this is not exact:
      Until the "Disk cleaner" process is executed, the behavior is the following:

      • if the item is expired and nobody has accessed it: the key and document is still visible in the view
      • if the view is called just after an access (get operation) to an expired item the document is null in the view (as stated in the documentation)
      • then the document is not anymore on disk so not visible in the view.

      It could be interesting to validate with engineering that the behavior that I have described is the one expected, and clarify that in the documentation. Because when I read the doc,I expect the document to be null as soon as the item is expired.

      Attachments

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

        Activity

          People

            ketaki Ketaki Gangal (Inactive)
            tgrall Tug Grall (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