hadoop-zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jared Cantwell (JIRA)" <j...@apache.org>
Subject [jira] Commented: (ZOOKEEPER-882) Startup loads last transaction from snapshot
Date Wed, 03 Nov 2010 17:10:24 GMT

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


Mime
View raw message