Hello Dan Burkert, Jean-Daniel Cryans,
I'd like you to do a code review. Please visit
http://gerrit.cloudera.org:8080/6051
to review the following change.
Change subject: KUDU-1888. java: fix handling of RPCs which fail before they
are sent
......................................................................
KUDU-1888. java: fix handling of RPCs which fail before they are sent
As described in the bug report, this fixes a race where, if an RPC was
sent when it had already timed out (eg due to overloaded CPU) it would
return a deferred error, and call the RPC's errback, but the returned
deferred would not actually be the same object as the RPC deferred. This
means that adding additional errbacks to the return value would not be
able to transform the result of the RPC.
Change-Id: I85ef2a215becb84c805e62f0da229b901e109193
---
M java/kudu-client/src/main/java/org/apache/kudu/client/AsyncKuduClient.java
1 file changed, 4 insertions(+), 2 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/51/6051/1
--
To view, visit http://gerrit.cloudera.org:8080/6051
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I85ef2a215becb84c805e62f0da229b901e109193
Gerrit-PatchSet: 1
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Todd Lipcon <[email protected]>
Gerrit-Reviewer: Dan Burkert <[email protected]>
Gerrit-Reviewer: Jean-Daniel Cryans <[email protected]>