Details
-
Bug
-
Resolution: Won't Fix
-
Major
-
2.0
-
Security Level: Public
-
None
-
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.