You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Luca Telloli (JIRA)" <ji...@apache.org> on 2009/07/03 16:16:47 UTC

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

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


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.


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

Posted by "Luca Telloli (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-459?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12727091#action_12727091 ] 

Luca Telloli commented on ZOOKEEPER-459:
----------------------------------------

Flavio,
openLedger() would return correctly without any exception. 

Then When I try to read entries from that ledger, it would return 0 entries. 

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


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

Posted by "Flavio Paiva Junqueira (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-459?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12727025#action_12727025 ] 

Flavio Paiva Junqueira commented on ZOOKEEPER-459:
--------------------------------------------------

I don't understand the issue. openLedger is not supposed to return entries. Do you mean that you get no exception when you try to read from the ledger?

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