MCPcopy Create free account
hub / github.com/apache/impala / CheckConsistencyFull

Method CheckConsistencyFull

be/src/runtime/buffered-tuple-stream.cc:102–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100}
101
102void BufferedTupleStream::CheckConsistencyFull(const ReadIterator& read_it) const {
103 CheckConsistencyFast(read_it);
104 // The below checks require iterating over all the pages in the stream.
105 DCHECK_EQ(bytes_pinned_, CalcBytesPinned()) << DebugString();
106 DCHECK_EQ(pages_.size(), num_pages_) << DebugString();
107 for (const Page& page : pages_) CheckPageConsistency(&page);
108}
109
110void BufferedTupleStream::CheckConsistencyFast(const ReadIterator& read_it) const {
111 // All the below checks should be O(1).

Callers 1

VerifyStreamStateMethod · 0.80

Calls 2

DebugStringFunction · 0.50
sizeMethod · 0.45

Tested by 1

VerifyStreamStateMethod · 0.64