You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Jared Cantwell (JIRA)" <ji...@apache.org> on 2010/11/03 18:10:24 UTC

[jira] Commented: (ZOOKEEPER-882) Startup loads last transaction from snapshot

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

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

Sure Flavio.  I have a test ready, but I have a question for you.  In order to make the test illustrate the bug in the current version, it needs to be changed slightly (~3 lines).  Otherwise, it will still fail with the current version, but for the wrong reason.  It does, however, verify that transactions are loaded correctly, and once, with the patch.  How should I handle this?  I was thinking about posting a version of the test for people to verify that this truly is a bug, and then submitting the real test with the patch.  How does that sound?

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