MCPcopy Create free account
hub / github.com/apache/kvrocks / SyncWAL

Method SyncWAL

src/storage/storage.cc:867–873  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

865}
866
867Status Storage::SyncWAL() {
868 auto s = db_->SyncWAL();
869 if (!s.ok()) {
870 return {Status::NotOK, s.ToString()};
871 }
872 return Status::OK();
873}
874
875void Storage::RecordStat(StatType type, uint64_t v) {
876 switch (type) {

Callers 2

CloseDBMethod · 0.80
sendReplConfAckMethod · 0.80

Calls 1

ToStringMethod · 0.45

Tested by

no test coverage detected