Skip to content

Commit 97d1a8c

Browse files
committed
MB-45756: Log purge seqno when creating VBucket
Log the purge seqno of the VBucket when creating it so we can see more information about the vbucket state we read from disk was during warmup. Change-Id: Ie302adbc173c768f949a61873b5f48238a989d9a Reviewed-on: http://review.couchbase.org/c/kv_engine/+/152354 Reviewed-by: Paolo Cocchi <[email protected]> Tested-by: Build Bot <[email protected]>
1 parent cef67ea commit 97d1a8c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

engines/ep/src/vbucket.cc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,13 +237,15 @@ VBucket::VBucket(Vbid i,
237237

238238
EP_LOG_INFO(
239239
"VBucket: created {} with state:{} initialState:{} lastSeqno:{} "
240-
"persistedRange:{{{},{}}} max_cas:{} uuid:{} topology:{}",
240+
"persistedRange:{{{},{}}} purge_seqno:{} max_cas:{} uuid:{} "
241+
"topology:{}",
241242
id,
242243
VBucket::toString(state),
243244
VBucket::toString(initialState),
244245
lastSeqno,
245246
persistedRange.getStart(),
246247
persistedRange.getEnd(),
248+
purge_seqno,
247249
getMaxCas(),
248250
failovers ? std::to_string(failovers->getLatestUUID()) : "<>",
249251
replicationTopology.rlock()->dump());

0 commit comments

Comments
 (0)