Skip to content

Commit 0a9aa86

Browse files
committed
MB-38444: Improve logging in RangeIteratorLL ctor
We miss to log the earlySnapEndSeqno and maxVisibleSeqno, which are very important information at diagnostic. Change-Id: Iec2fee448d9d0507e5d43b515f761eb10588289c Reviewed-on: http://review.couchbase.org/c/kv_engine/+/143895 Well-Formed: Build Bot <[email protected]> Tested-by: Build Bot <[email protected]> Reviewed-by: Trond Norbye <[email protected]>
1 parent 8c3189f commit 0a9aa86

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

engines/ep/src/linked_list.cc

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -588,10 +588,13 @@ BasicLinkedList::RangeIteratorLL::RangeIteratorLL(BasicLinkedList& ll,
588588
: spdlog::level::level_enum::debug;
589589

590590
EP_LOG_FMT(severity,
591-
"{} Created range iterator from {} to {}",
591+
"{} Created range iterator from {} to {}, earlySnapEndSeqno:{}, "
592+
"maxVisibleSeqno:{}",
592593
list.vbid,
593594
itrRange.getBegin(),
594-
itrRange.getEnd());
595+
itrRange.getEnd(),
596+
earlySnapShotEndSeqno,
597+
maxVisibleSeqno);
595598
}
596599

597600
BasicLinkedList::RangeIteratorLL::~RangeIteratorLL() {

0 commit comments

Comments
 (0)