HDDS-869. Fix log message in XceiverClientRatis#sendCommandAsync. Contributed by Lokesh Jain.
This commit is contained in:
parent
ff2484906c
commit
95d526a270
@ -196,9 +196,11 @@ public XceiverClientAsyncReply sendCommandAsync(
|
|||||||
Collection<XceiverClientAsyncReply.CommitInfo> commitInfos =
|
Collection<XceiverClientAsyncReply.CommitInfo> commitInfos =
|
||||||
new ArrayList<>();
|
new ArrayList<>();
|
||||||
CompletableFuture<ContainerCommandResponseProto> containerCommandResponse =
|
CompletableFuture<ContainerCommandResponseProto> containerCommandResponse =
|
||||||
raftClientReply.whenComplete((reply, e) -> LOG
|
raftClientReply.whenComplete((reply, e) -> LOG.debug(
|
||||||
.info("received reply {} for request: {} exception: {}", request,
|
"received reply {} for request: cmdType={} containerID={}"
|
||||||
reply, e))
|
+ " pipelineID={} traceID={} exception: {}", reply,
|
||||||
|
request.getCmdType(), request.getContainerID(),
|
||||||
|
request.getPipelineID(), request.getTraceID(), e))
|
||||||
.thenApply(reply -> {
|
.thenApply(reply -> {
|
||||||
try {
|
try {
|
||||||
// we need to handle RaftRetryFailure Exception
|
// we need to handle RaftRetryFailure Exception
|
||||||
|
Loading…
Reference in New Issue
Block a user