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] Updated: (ZOOKEEPER-882) Startup loads last transaction from snapshot
Date Thu, 04 Nov 2010 14:41:44 GMT

     [ https://issues.apache.org/jira/browse/ZOOKEEPER-882?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jared Cantwell updated ZOOKEEPER-882:
-------------------------------------

    Attachment: FailureTest-882.patch

Submitting a unit test that illustrates the bug and confirms that transactions are loaded
multiple times when moving to the next log file.  This test ignores FileTxnSnapLog and focuses
on the behavior of FileTxnLog for the moment.  

> 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, FailureTest-882.patch, 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