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

Method Stop

be/src/kudu/util/async_logger.cc:49–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47}
48
49void AsyncLogger::Stop() {
50 {
51 MutexLock l(lock_);
52 CHECK_EQ(state_, RUNNING);
53 state_ = STOPPED;
54 wake_flusher_cond_.Signal();
55 }
56 thread_.join();
57 CHECK(active_buf_->messages.empty());
58 CHECK(flushing_buf_->messages.empty());
59}
60
61void AsyncLogger::Write(bool force_flush,
62 time_t timestamp,

Callers

nothing calls this directly

Calls 3

SignalMethod · 0.45
joinMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected