[
https://issues.apache.org/jira/browse/ZOOKEEPER-882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12972685#action_12972685
]
Jared Cantwell commented on ZOOKEEPER-882:
------------------------------------------
Also, somewhat related to this patch, I think the TxnIterator should implement
java.util.Iterator, not its own strange version of it. A call to next() should
return a TxnFileEntry which wraps the TxnHeader and Record. That's probably
for another patch and a later version though, but just wanted to mention it.
> 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, 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.