MCPcopy Create free account
hub / github.com/Tencent/phxqueue / CheckGetRequest

Method CheckGetRequest

phxqueue/store/store.cpp:382–394  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

380}
381
382comm::RetCode Store::CheckGetRequest(const comm::proto::GetRequest &req) {
383
384 auto topic_id(impl_->topic_id);
385
386 comm::RetCode ret;
387
388 if (comm::RetCode::RET_OK != (ret = CheckRequestComm(req.store_id(), req.queue_id()))) {
389 QLErr("CheckRequestComm ret %d", as_integer(ret));
390 return ret;
391 }
392
393 return comm::RetCode::RET_OK;
394}
395
396
397comm::RetCode Store::CheckMaster(const int paxos_group_id, comm::proto::Addr &redirect_addr) {

Callers

nothing calls this directly

Calls 1

as_integerFunction · 0.85

Tested by

no test coverage detected