This was exposed by the sync gateway integration tests, but I've attached a simple reproduction of the issue that uses gocb v2 (although gocb v1 also exhibits the issue) that does not use the sync gateway tests.
After upserting documents and asking for
all rows are not returned.
run.sh script will replicate this, and you can see the difference by changing DOCKER_IMAGE in the script. This script creates a fresh container named couchbase and executes demo program against a fresh server instance. I've tested this error on an M1 laptop and linux intel laptop.
|For Gerrit Dashboard: MB-54172|
|185993,2||MB-54172: Fix data missing when dcp stream starts with disk only mode||neo||couchdb||Status: MERGED||+2||+1|