Details
-
Bug
-
Resolution: Cannot Reproduce
-
Major
-
5.0.1
-
None
-
Regretfully, we didn't save index files in broken state = nothing to show :(
-
Triaged
-
Unknown
Description
- 1M items bucket
- create good map function
- create bad reduce function that fails (in our case it failed due to result size limit, but I don't think it's relevant)
- save
- indexing starts
- indexing stops with error
Now we have something indexed, something not, because first reduce error aborts couch_view_index_builder process.
So far so good.
Now
- fix reduce function
- save
- indexing starts
- indexing stops
Now we have no diagnostic messages and everything seems OK.
Yet it is not so.
Some documents not make it into the index.
Query group=false&key="key1" returns less documents by key than there are in this bucket (in our case there were 2 documents, query returns only 1).
View map function update (added comment line) forces total index update, that helped and missing documents appeared in search API reply.
Attachments
Issue Links
- relates to
-
DOC-2708 Views files format
- Closed