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

Flavio Junqueira commented on ZOOKEEPER-882:
--------------------------------------------

Hi Jared, Thanks for bringing this up. It doesn't look like that extra call to 
next() is necessary. If there is another file to process, then the call to next 
will return true and we will keep processing transactions, no? 

> Startup loads last transaction from snapshot
> --------------------------------------------
>
>                 Key: ZOOKEEPER-882
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-882
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: server
>            Reporter: Jared Cantwell
>            Priority: Minor
>         Attachments: 882.diff
>
>
> On startup, the server first loads the latest snapshot, and then loads from 
> the log starting at the last transaction in the snapshot.  It should begin 
> from one past that last transaction in the log.  I will attach a possible 
> patch.

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