[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-1324?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13549267#comment-13549267
 ] 

Thawan Kooburat commented on ZOOKEEPER-1324:
--------------------------------------------

synchronization of lastCommitted is based on findbugs warning. 

My understanding is that leader object is used to lock the entire request 
processing pipeline. So it might be safer to do synchronized the entire method 
in order to guarantee that lastCommitted and DB's zxid is set atomically when 
the server start (and the system start processing request).  
                
> Remove Duplicate NEWLEADER packets from the Leader to the Follower.
> -------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-1324
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1324
>             Project: ZooKeeper
>          Issue Type: Bug
>            Reporter: Mahadev konar
>            Assignee: Thawan Kooburat
>            Priority: Critical
>             Fix For: 3.5.0
>
>         Attachments: ZOOKEEPER-1324.patch, ZOOKEEPER-1324.patch, 
> ZOOKEEPER-1324.patch, ZOOKEEPER-1324.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to