phrocker commented on a change in pull request #6:
URL: https://github.com/apache/hbase-native-client/pull/6#discussion_r446358645



##########
File path: src/hbase/client/async-batch-rpc-retrying-caller.cc
##########
@@ -70,7 +70,8 @@ AsyncBatchRpcRetryingCaller<REQ, 
RESP>::~AsyncBatchRpcRetryingCaller() {}
 template <typename REQ, typename RESP>
 Future<std::vector<Try<RESP>>> AsyncBatchRpcRetryingCaller<REQ, RESP>::Call() {
   GroupAndSend(actions_, 1);
-  return collectAll(action2futures_);
+  // use the executor to convert he SemiFuture to a Future.
+  return std::move(collectAll(action2futures_)).via(cpu_pool_.get());

Review comment:
       yeah I'm surprised to see that there too. This is something I'm usually 
good at picking up in reviews of others' code, so it's kind of embarrassing 
that I didn't notice this myself, but I got pretty careless when I pulled this 
commit out from the original PR. Removed!




----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to