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