Skip to content

Commit 6dcc716

Browse files
committed
Revert "MB-57400: "estimated" items_remaining drops to 0 when cursor settles"
This reverts commit e903cfe. - Reason for revert - After the backport of MB-52276 to Neo "estimate" is no longer needed. This is the first of 2 reverts for MB-57400. Note: Most of the code in the original patch was already removed as part of the MB-52276 backport, so this revert ends up in a 1-liner. Change-Id: I977af27f0831d98af810533c25d80395196465a3 Reviewed-on: https://review.couchbase.org/c/kv_engine/+/194196 Well-Formed: Restriction Checker Reviewed-by: Dave Rigby <[email protected]> Tested-by: Paolo Cocchi <[email protected]>
1 parent c328ad5 commit 6dcc716

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

engines/ep/src/checkpoint_iterator.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,12 +146,12 @@ class CheckpointIterator {
146146
return iter;
147147
}
148148

149+
private:
149150
/// Is the iterator currently pointing to the "end" element.
150151
bool isAtEnd() const {
151152
return (iter == container.get().end());
152153
}
153154

154-
private:
155155
/// Is the iterator currently pointing to the first element,
156156
bool isAtStart() const {
157157
return (iter == container.get().begin());

0 commit comments

Comments
 (0)