MCPcopy Create free account
hub / github.com/baidu/tera / UnLock

Method UnLock

src/observer/rowlocknode/rowlocknode_impl.cc:55–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55void RowlockNodeImpl::UnLock(const RowlockRequest* request, RowlockResponse* response,
56 google::protobuf::Closure* done) {
57 uint64_t rowlock_key = GetRowlockKey(request->table_name(), request->row());
58 rowlock_db_.UnLock(rowlock_key);
59 response->set_lock_status(kLockSucc);
60 VLOG(12) << "Unlock success: " << request->row();
61 done->Run();
62}
63
64void RowlockNodeImpl::PrintQPS() { return; }
65

Callers 1

~AutoRowUnlockerMethod · 0.45

Calls 1

RunMethod · 0.45

Tested by

no test coverage detected