You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Flavio Junqueira (JIRA)" <ji...@apache.org> on 2010/12/18 16:32:00 UTC

[jira] Resolved: (ZOOKEEPER-459) Opening a ledger with wrong password doesn't raise an exception

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

Flavio Junqueira resolved ZOOKEEPER-459.
----------------------------------------

    Resolution: Not A Problem
      Assignee: Flavio Junqueira

We don't check if the password is correct upon opening a ledger. Instead, we detect a mismatch when verifying the MAC, and we throw an exception then (PendingReadOp.readEntryComplete()).

> Opening a ledger with wrong password doesn't raise an exception
> ---------------------------------------------------------------
>
>                 Key: ZOOKEEPER-459
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-459
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: contrib-bookkeeper
>    Affects Versions: 3.1.1
>            Reporter: Luca Telloli
>            Assignee: Flavio Junqueira
>
> I've experienced by accident the following behavior: 
> - created a ledger with a password
> - opened a ledger with a different password 
> No exception was raised, the openLedger(...) would return correctly but containing 0 entries 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.