[ 
https://issues.apache.org/jira/browse/BOOKKEEPER-282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13288589#comment-13288589
 ] 

Rakesh R commented on BOOKKEEPER-282:
-------------------------------------

@Sijie
In BK 4.0.0 version, I'm just seeing the 'LedgerCreateOp' logic is reverse, 
first creating zkledgermetadata and then checking for ensembles as follows:

{noformat}
    /**
     * Initiates the operation
     */
    public void initiate() {
        bk.getLedgerManager().newLedgerPath(this);
    }

    public void operationComplete(int rc, String ledgerPath) {
    ....
    ....
         /*
         * Adding bookies to ledger handle
         */
    }
{noformat}


@Surendra 
Could you please update the bookkeeper version?
                
> When BK Cluster is not available then also BK Client able to create Ledger in 
> zookeeper.
> ----------------------------------------------------------------------------------------
>
>                 Key: BOOKKEEPER-282
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-282
>             Project: Bookkeeper
>          Issue Type: Bug
>          Components: bookkeeper-client
>            Reporter: surendra singh lilhore
>            Priority: Minor
>
> When bookie cluster is not available then also BK client able to create 
> ledger znode in zookeeper. Means this ledger is not useful for Bookkeeper 
> server.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to