MB-16663: Return only non-deleted keys in CMD_GET_KEYS 05/56505/4
authorManu Dhundi <manu@couchbase.com>
Wed, 28 Oct 2015 22:27:15 +0000 (15:27 -0700)
committerChiyoung Seo <chiyoung@couchbase.com>
Wed, 28 Oct 2015 23:21:08 +0000 (23:21 +0000)
commitbf22617cb39d333e548aef177f5c7b8538193331
treebbba791a407c6e2f98a9742a6613ba35298b35ee
parent191fda08d638dae93f5dfcd1146340ffefae87ce
MB-16663: Return only non-deleted keys in CMD_GET_KEYS

When ns_server issues CMD_GET_KEYS, ep-engine should return only
the non deleted keys. For this couch-kvstore should to pass the flag
COUCHSTORE_NO_DELETES to the function couchstore_all_docs.

Change-Id: Iba13f9fb09a8d46f58df246a0d109120cc035871
Reviewed-on: http://review.couchbase.org/56505
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Chiyoung Seo <chiyoung@couchbase.com>
src/couch-kvstore/couch-kvstore.cc
tests/ep_testsuite.cc