SyncRequestProcessor snapping too frequently - counts non-log events as log 

                 Key: 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 


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 

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

Reply via email to