At least Q17 and Q18 queries are affected:
SELECT name, email FROM `bucket-1` WHERE capped_small > $1 ORDER BY capped_small LIMIT 10;
|
SELECT name, email FROM `bucket-1` WHERE capped_small > $1 ORDER BY capped_small OFFSET 1000 LIMIT 10;
|
See http://showfast.sc.couchbase.com/#/timeline/Linux/n1ql/pagination/MOI
I tried other builds and it looks like regression was introduced in build 5.1.0-1321 after the following change:
godeps/src/github.com/couchbase/go_json changed from f9c04b0b12efd9dd911bdb45f8beec096a5934c9 to master
|
[+] df39143 MB-25907 make jsonpointer single pass
|