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

        deepkaran.salooja Deepkaran Salooja created issue -
        FilipeManana Filipe Manana (Inactive) made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Won't Fix [ 2 ]
        farshid Farshid Ghods (Inactive) made changes -
        Assignee Filipe Manana [ filipemanana ] Peter Wansch [ peter ]
        farshid Farshid Ghods (Inactive) made changes -
        Resolution Won't Fix [ 2 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        farshid Farshid Ghods (Inactive) made changes -
        Summary View query results with stale=false include expired items items are not marked as deleted/expired in couchstore after they expire (View query results with stale=false include expired items)
        farshid Farshid Ghods (Inactive) made changes -
        Sprint Status Current Sprint
        peter peter made changes -
        Assignee Peter Wansch [ peter ] Chiyoung Seo [ chiyoung ]
        FilipeManana Filipe Manana (Inactive) made changes -
        Component/s couchbase-bucket [ 10173 ]
        chiyoung Chiyoung Seo made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Won't Fix [ 2 ]
        chiyoung Chiyoung Seo made changes -
        Sprint Status Current Sprint
        farshid Farshid Ghods (Inactive) made changes -
        Resolution Won't Fix [ 2 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Sprint Status Current Sprint
        Assignee Chiyoung Seo [ chiyoung ] Dipti Borkar [ dipti ]
        dipti Dipti Borkar made changes -
        Assignee Dipti Borkar [ dipti ] Peter Wansch [ peter ]
        Sprint Status Current Sprint Next Sprint
        Sprint Priority 5
        peter peter made changes -
        Assignee Peter Wansch [ peter ] Deepkaran Salooja [ deepkaran.salooja ]
        farshid Farshid Ghods (Inactive) made changes -
        Assignee Deepkaran Salooja [ deepkaran.salooja ] Peter Wansch [ peter ]
        peter peter made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Won't Fix [ 2 ]
        peter peter made changes -
        Sprint Status Next Sprint
        peter peter made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        maria Maria McDuff (Inactive) made changes -
        Affects Version/s 2.0 [ 10114 ]
        Affects Version/s recent-builds-2.0 [ 10349 ]

          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