zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Reed (JIRA)" <j...@apache.org>
Subject [jira] Updated: (ZOOKEEPER-200) the magic number for snapshot and log must be different (currently same)
Date Tue, 21 Oct 2008 17:09:44 GMT

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

Benjamin Reed updated ZOOKEEPER-200:
------------------------------------

    Hadoop Flags: [Incompatible change, Reviewed]

+1 Good catch Pat. The fact that you didn't have to change any code that reads the logs and
snapshots indicates that we are not checking the magic numbers, which is another bug :) Please
commit.

> the magic number for snapshot and log must be different (currently same)
> ------------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-200
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-200
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: server
>    Affects Versions: 3.0.0
>            Reporter: Patrick Hunt
>            Assignee: Patrick Hunt
>             Fix For: 3.0.0
>
>         Attachments: ZOOKEEPER-200.patch
>
>
> the magic number for the snapshot and transaction logs are currently the same - they
should be different. Also the magic numbers should also be more indicative of the type of
file (currently "AK47" for both, not very useful in determining type of file)

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