MB-20852 [11/N]: Move persistenceCheckpoint id to VBucket 77/67877/14
authorDave Rigby <daver@couchbase.com>
Tue, 13 Sep 2016 16:22:38 +0000 (17:22 +0100)
committerDave Rigby <daver@couchbase.com>
Mon, 31 Oct 2016 17:28:27 +0000 (17:28 +0000)
commit1e08986004c9ddd8a9c41b7708e1be0175b97a76
treeb71fd432379576a3e52d2fc59cf6cd762eb18c7a
parent104bb4b706e721384f25b090b034036c01f0bf87
MB-20852 [11/N]: Move persistenceCheckpoint id to VBucket

Currently the VBucketMap owns the persistence checkpoint IDs of all
VBuckets. Given these are properties of the VBuckets themselves (for
example one cannot form a vbucket_state record without one) it seems
more logical to have the VBucket class itself own this property.

Change-Id: I50260da628f543365081e736fdd55056a6004cd9
Reviewed-on: http://review.couchbase.org/67877
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: buildbot <build@couchbase.com>
src/vbucket.cc
src/vbucket.h
src/vbucketmap.cc
src/vbucketmap.h