| 380 | } |
| 381 | |
| 382 | comm::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 | |
| 397 | comm::RetCode Store::CheckMaster(const int paxos_group_id, comm::proto::Addr &redirect_addr) { |
nothing calls this directly
no test coverage detected