This is a performance improvement and code refactoring follow-up on HDFS-7385.
HDFS-9293 FSEditLog's 'OpInstanceCache' instance of threadLocal cache exists dirty 'rpcId',which may cause standby NN too busy to communicate
HDFS-7385 ThreadLocal used in FSEditLog class causes FSImage permission mess up