[
https://issues.apache.org/jira/browse/ZOOKEEPER-2994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16449043#comment-16449043
]
Hudson commented on ZOOKEEPER-2994:
-----------------------------------
FAILURE: Integrated in Jenkins build ZooKeeper-trunk #3810 (See
[https://builds.apache.org/job/ZooKeeper-trunk/3810/])
ZOOKEEPER-2994: Tool required to recover log and snapshot entries with (phunt:
rev 154f9c536f7c696b774361937c6b4b08603d16cf)
* (add) bin/zkTxnLogToolkit.cmd
* (edit) src/docs/src/documentation/content/xdocs/zookeeperAdmin.xml
* (add) src/java/main/org/apache/zookeeper/server/persistence/FilePadding.java
* (add) src/java/main/org/apache/zookeeper/server/persistence/TxnLogToolkit.java
* (edit) src/java/main/org/apache/zookeeper/server/persistence/FileTxnLog.java
* (edit) docs/zookeeperAdmin.pdf
* (edit)
src/java/test/org/apache/zookeeper/server/persistence/FileTxnLogTest.java
* (add)
src/java/test/org/apache/zookeeper/server/persistence/TxnLogToolkitTest.java
* (add) bin/zkTxnLogToolkit.sh
* (edit) docs/zookeeperAdmin.html
* (edit) src/java/test/org/apache/zookeeper/test/ClientBase.java
* (add) src/java/test/data/invalidsnap/version-2/log.42
> Tool required to recover log and snapshot entries with CRC errors
> -----------------------------------------------------------------
>
> Key: ZOOKEEPER-2994
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2994
> Project: ZooKeeper
> Issue Type: New Feature
> Affects Versions: 3.5.4, 3.6.0
> Reporter: Andor Molnar
> Assignee: Andor Molnar
> Priority: Major
> Fix For: 3.5.4, 3.6.0
>
>
> In the even that the zookeeper transaction log or snapshot become corrupted
> and fail CRC checks (preventing startup) we should have a mechanism to get
> the cluster running again.
> Previously we achieved this by loading the broken transaction log with a
> modified version of ZK with disabled CRC check and forced it to snapshot.
> It'd very handy to have a tool which can do this for us. LogFormatter and
> SnapshotFormatter have already been designed to dump log and snapshot files,
> it'd be nice to extend their functionality and add ability for such recovery.
> It has proven that once you end up with the corrupt txn log there is no way
> to recover except manually modifying the crc check. That's basically why the
> tool is needed.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)