You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Patrick Hunt (JIRA)" <ji...@apache.org> on 2009/11/03 02:51:59 UTC
[jira] Commented: (ZOOKEEPER-568) SyncRequestProcessor snapping too
frequently - counts non-log events as log events
[ https://issues.apache.org/jira/browse/ZOOKEEPER-568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12772822#action_12772822 ]
Patrick Hunt commented on ZOOKEEPER-568:
----------------------------------------
move traceMask into isTraceEnabled check
> SyncRequestProcessor snapping too frequently - counts non-log events as log events
> ----------------------------------------------------------------------------------
>
> Key: ZOOKEEPER-568
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-568
> Project: Zookeeper
> Issue Type: Bug
> Affects Versions: 3.2.1
> Reporter: Patrick Hunt
> Fix For: 3.3.0
>
>
> Noticed the following issues in SyncRequestProcessor
> 1) logCount is incremented even for non-log events (say getData)
> txnlog should return indication if request was logged or not (if hdr ==null it returns)
> also:
> 2) move r.nextInt below logCount++ (ie if an actual log event)
> 3) fix indentation after txnlog.append (for some reason has unnecessary 4 char indent)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.