[
https://issues.apache.org/jira/browse/ZOOKEEPER-1239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13134319#comment-13134319
]
Patrick Hunt commented on ZOOKEEPER-1239:
-----------------------------------------
Todd pointed me at this commit in hbase which does similar (sync time tracking)
---
HBase does a log message when any sync() call takes longer than a second or so.
commit 96621d010f9a924e2af338a10b584b7f07caf17d
Author: Michael Stack <[email protected]>
Date: Mon May 11 17:32:24 2009 +0000
HBASE-1404 minor edit of regionserver logging messages
> add logging/stats to identify fsync stalls
> ------------------------------------------
>
> Key: ZOOKEEPER-1239
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1239
> Project: ZooKeeper
> Issue Type: Improvement
> Components: server
> Reporter: Patrick Hunt
>
> We don't have any logging to identify fsync stalls. It's a somewhat common
> occurrence (after gc/swap issues) when trying to diagnose pipeline stalls -
> where outstanding requests start piling up and operational latency increases.
> We should have some sort of logging around this. e.g. if the fsync time
> exceeds some limit then log a warning, something like that.
> It would also be useful to publish "stat" information related to this.
> min/avg/max latency for fsync.
> This should also be exposed through JMX.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira