HDFS-16425.[SBN READ]Add debug log when requeue observer read call

This commit is contained in:
zhanghaobo 2022-01-13 17:53:10 +08:00
parent 7542677470
commit d9ed717d98
1 changed files with 6 additions and 0 deletions

View File

@ -3089,6 +3089,12 @@ public abstract class Server {
startTimeNanos = Time.monotonicNowNanos();
if (alignmentContext != null && call.isCallCoordinated() &&
call.getClientStateId() > alignmentContext.getLastSeenStateId()) {
if (LOG.isDebugEnabled()) {
LOG.debug("{}: requeue call: {}, client side state id: {}, " +
"server side state id: {}, for RpcKind: {}",
Thread.currentThread().getName(), call, call.getClientStateId(),
alignmentContext.getLastSeenStateId(), call.rpcKind);
}
/*
* The call processing should be postponed until the client call's
* state id is aligned (<=) with the server state id.