Description
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.
Attachments
Attachments
Issue Links
- is broken by
-
HDFS-14270 [SBN Read] StateId and TrasactionId not present in Trace level logging
- Resolved