farmmamba created HDFS-17335:
--------------------------------

             Summary: Add metrics for syncWaitQ in FSEditLogAsync
                 Key: HDFS-17335
                 URL: https://issues.apache.org/jira/browse/HDFS-17335
             Project: Hadoop HDFS
          Issue Type: Improvement
          Components: namenode
    Affects Versions: 3.3.6
            Reporter: farmmamba


To monitor syncWaitQ in FSEditLogAsync, we add a metric syncPendingCount.

The reason we add this metrics is that when dequeueEdit() return null,  the 
boolean variable doSync is set to {color:#0747a6}+!syncWaitQ.isEmpty()+    
{color:#172b4d}After adding this metrics we can better monitor sync performance 
and codes.{color}{color}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to