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

items are not marked as deleted/expired in couchstore after they expire (View query results with stale=false include expired items)

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Security Level: Public
    • Labels:
      None
    • Environment:
      build#1580 on Ubuntu 64bit

      Description

      View query results with stale=false include expired items.

      Steps to reproduce(build#1580):
      1. Create default bucket
      2. Load 10 json docs with expiry set to 30 seconds.
      3. Create a view(default map func) and query with stale=false.
      4. Wait for 2-3 minutes.
      5. Query view again with stale=false.

      Some of the items are still returned in the query results even when index is rebuilt.
      I observed that the number of rows returned by the view query is always the same as curr_items.

      Diagnostics are attached.

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

        Activity

        There are no open Gerrit changes for this issue.

          People

          • Assignee:
            peter peter
            Reporter:
            deepkaran.salooja Deepkaran Salooja
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes