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

Jared Cantwell commented on ZOOKEEPER-882:
------------------------------------------

Sorry, I don't think I was clear.  That makes sense, but I was saying that if 
you only apply the test then it will fail (as expected), but for the wrong 
reason.  Due to the loop restructuring, and the semantics of the change, a test 
to illustrate the current bug would need to be slightly different (~3 lines) 
than the test I would submit to illustrate correct functionality after the 
patch.  

> 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
>            Assignee: Jared Cantwell
>            Priority: Minor
>             Fix For: 3.4.0
>
>         Attachments: 882.diff, restore, ZOOKEEPER-882.patch
>
>
> 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