You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Konstantin Shvachko (JIRA)" <ji...@apache.org> on 2019/05/15 18:39:00 UTC

[jira] [Created] (HDFS-14494) Move Server logging of StatedId inside receiveRequestState()

Konstantin Shvachko created HDFS-14494:
------------------------------------------

             Summary: Move Server logging of StatedId inside receiveRequestState()
                 Key: HDFS-14494
                 URL: https://issues.apache.org/jira/browse/HDFS-14494
             Project: Hadoop HDFS
          Issue Type: Bug
            Reporter: Konstantin Shvachko


HDFS-14270 introduced logging of the client and server StateIds in trace level. Unfortunately one of the arguments {{alignmentContext.getLastSeenStateId()}} holds a lock on FSEdits, which is called even if trace logging level is disabled. I propose to move logging message inside {{GlobalStateIdContext.receiveRequestState()}} where {{clientStateId}} and {{serverStateId}} already calculated and can be easily printed.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org