Skip to content

Commit 650443a

Browse files
committed
Make Checkpoint::vbucketId const as it should never change
Change-Id: I621d297817430944d49131b54198b1fbc86e3dfa Reviewed-on: https://review.couchbase.org/c/kv_engine/+/172734 Tested-by: Build Bot <[email protected]> Reviewed-by: James H <[email protected]>
1 parent 3c5dceb commit 650443a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

engines/ep/src/checkpoint.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,7 @@ class Checkpoint {
649649
uint64_t visibleSnapEndSeqno = 0;
650650
/// The seqno of the highest expelled item.
651651
Monotonic<int64_t> highestExpelledSeqno{0};
652-
Vbid vbucketId;
652+
const Vbid vbucketId;
653653
rel_time_t creationTime;
654654
folly::Synchronized<checkpoint_state> checkpointState;
655655
/// Number of non-meta items (see Item::isCheckPointMetaItem).

0 commit comments

Comments
 (0)