MB-24294: Clean-up couch-kvstore openDB with reset=true 07/78007/7
authorJim Walker <jim@couchbase.com>
Thu, 11 May 2017 09:02:06 +0000 (10:02 +0100)
committerDave Rigby <daver@couchbase.com>
Wed, 17 May 2017 16:04:54 +0000 (16:04 +0000)
commited6fd944d5b994ac2a1920b8e169f9f1a52e5dd5
treeb335eb7f2d785858704a2d8933307a360dc5d33e
parent6daeb16073535b332fe7ba31ea8585cd4c93674a
MB-24294: Clean-up couch-kvstore openDB with reset=true

The openDB reset flag is only used by the CouchKVStore::reset method
when it calls set-state.

This is no longer required because of the changes in MB-23714 (which
also modified CouchKVStore::reset). There is no need to move the DB
file revision back to 1, it should be monotonically incrementing.

Change-Id: I50ba9873041157923ed99f34623f93ef67527641
Reviewed-on: http://review.couchbase.org/78007
Reviewed-by: Dave Rigby <daver@couchbase.com>
Tested-by: Build Bot <build@couchbase.com>
src/couch-kvstore/couch-kvstore.cc
src/couch-kvstore/couch-kvstore.h
tests/module_tests/kvstore_test.cc