eric-haibin-lin commented on a change in pull request #15559: [MXNET-1294] Add
PushPull API
URL: https://github.com/apache/incubator-mxnet/pull/15559#discussion_r306069087
##########
File path: src/kvstore/kvstore_dist_server.h
##########
@@ -364,7 +365,11 @@ class KVStoreDistServer {
LOG(INFO) << "sent response to " << update_buf->request.size() << "
workers";
}
for (const auto& req : update_buf->request) {
- server->Response(req);
+ if (req.pull) {
+ DefaultStorageResponse(type, key, req, req_data, server);
Review comment:
we need to refactor this function
----------------------------------------------------------------
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]
With regards,
Apache Git Services