提交 8af8da4f 编写于 作者: T tangwei12

move checkpoint message to variable message

上级 85215df0
...@@ -201,15 +201,19 @@ class RequestCheckpointNotify final : public RequestBase { ...@@ -201,15 +201,19 @@ class RequestCheckpointNotify final : public RequestBase {
virtual ~RequestCheckpointNotify() {} virtual ~RequestCheckpointNotify() {}
std::string GetReqName() override { return "checkpoint_notify"; } std::string GetReqName() override { return request_->Varname(); }
void Process() override { void Process() override {
auto scope = request_->GetMutableLocalScope(); auto scope = request_->GetMutableLocalScope();
std::string nullptr_str = nullptr;
std::string checkpoint_notify = request_->Varname();
std::string checkpoint_dir = request_->Varname();
framework::Variable* invar = nullptr; framework::Variable* invar = nullptr;
framework::Variable* outvar = nullptr; framework::Variable* outvar = nullptr;
request_handler_->Handle(nullptr_str, scope, invar, &outvar, nullptr_str); request_handler_->Handle(checkpoint_notify, scope, invar, &outvar,
checkpoint_dir);
Finish(reply_, &responder_); Finish(reply_, &responder_);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册