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

Method LogHasSpace

be/src/runtime/runtime-state.h:182–185  ·  view source on GitHub ↗

Returns true if the error log has not reached max_errors_.

Source from the content-addressed store, hash-verified

180
181 /// Returns true if the error log has not reached max_errors_.
182 bool LogHasSpace() {
183 std::lock_guard<SpinLock> l(error_log_lock_);
184 return error_log_.size() < query_options().max_errors;
185 }
186
187 /// Returns true if there are entries in the error log.
188 bool HasErrors() {

Callers 6

ReadCompressedBlockMethod · 0.80
HandleConvertErrorMethod · 0.80
WriteTextSlotMethod · 0.80
GetNextMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected