davisp commented on issue #1101: Mango queries with `conflicts: true` return documents that do not have conflicts URL: https://github.com/apache/couchdb/issues/1101#issuecomment-359092909 Going over this on IRC I'm pretty sure the root cause of this bug is here: https://github.com/apache/couchdb/blob/master/src/mango/src/mango_cursor_view.erl#L285-L287 Using a partial filter index and removing the _conflicts check results in the correct results. Theoretically specifying r=2 in the options would also fix it but Fauxton apparently has issues encoding that and is passing [50] (i.e., ASCII "2") which is then ignored by Mango.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
