Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-1757

Adler32 may not be sufficient to protect against data corruption

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • server
    • None
    • Linux. Oracle JDK6/7

    Description

      I was investigating data inconsistency bug in our internal branch. One possible area is snapshot/txnlog corruption. So I wrote a more robust corruption test and found that it is easy to break our checksum algorithm which is Adler32.

      When this happen, it is more likely that corrupted data will fail other sanity check during deserialization phase, but it is still scary that it can pass the checksum.

      Attachments

        1. ZOOKEEPER.1757.patch
          4 kB
          Thawan Kooburat
        2. ZOOKEEPER.1757.patch
          4 kB
          Thawan Kooburat

        Activity

          People

            Unassigned Unassigned
            thawan Thawan Kooburat
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated: