levy5307 commented on a change in pull request #680:
URL: https://github.com/apache/incubator-pegasus/pull/680#discussion_r557928797
##########
File path: src/server/pegasus_server_write.cpp
##########
@@ -170,5 +136,77 @@ void pegasus_server_write::request_key_check(int64_t
decree,
}
}
+pegasus_server_write::single_put_rpc_map
pegasus_server_write::_single_put_methods = {
+ {dsn::apps::RPC_RRDB_RRDB_MULTI_PUT,
+ [](pegasus_server_write *server_write, dsn::message_ex *request) -> int {
+ return server_write->multi_put(request);
+ }},
Review comment:
No, because _single_put_methods is static. I don't want to make it to be
a non-static private member.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]