HDDS-869. Fix log message in XceiverClientRatis#sendCommandAsync. Contributed by Lokesh Jain.

This commit is contained in:
Shashikant Banerjee 2018-11-22 18:39:14 +05:30
parent ff2484906c
commit 95d526a270
1 changed files with 5 additions and 3 deletions

View File

@ -196,9 +196,11 @@ public final class XceiverClientRatis extends XceiverClientSpi {
Collection<XceiverClientAsyncReply.CommitInfo> commitInfos =
new ArrayList<>();
CompletableFuture<ContainerCommandResponseProto> containerCommandResponse =
raftClientReply.whenComplete((reply, e) -> LOG
.info("received reply {} for request: {} exception: {}", request,
reply, e))
raftClientReply.whenComplete((reply, e) -> LOG.debug(
"received reply {} for request: cmdType={} containerID={}"
+ " pipelineID={} traceID={} exception: {}", reply,
request.getCmdType(), request.getContainerID(),
request.getPipelineID(), request.getTraceID(), e))
.thenApply(reply -> {
try {
// we need to handle RaftRetryFailure Exception