MB-16181: Add collections.set_manifest support 36/77436/16
authorJim Walker <jim@couchbase.com>
Fri, 10 Mar 2017 16:34:47 +0000 (16:34 +0000)
committerDave Rigby <daver@couchbase.com>
Tue, 23 May 2017 16:49:07 +0000 (16:49 +0000)
commit126ed5a470878073cbf0dd9a989722962de28354
tree04b54ee9b6ce11dbaabefd488724dd40cf9ded67
parentf137afdc36d2ef8f20a603bc7979a02e08de28e1
MB-16181: Add collections.set_manifest support

Add a method which will accept the new manifest and apply it to
all active vbuckets.

The latest manifest is saved in memory and also used for when any VB
is set to active

Change-Id: Ic6a339bc5af279d105b679f528ff3675d1f16ac7
Reviewed-on: http://review.couchbase.org/77436
Reviewed-by: Dave Rigby <daver@couchbase.com>
Tested-by: Build Bot <build@couchbase.com>
CMakeLists.txt
src/collections/manager.cc [new file with mode: 0644]
src/collections/manager.h [new file with mode: 0644]
src/ep_engine.cc
src/kv_bucket.cc
src/kv_bucket.h
src/kv_bucket_iface.h
tests/module_tests/collections/evp_store_collections_test.cc