You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bookkeeper.apache.org by GitBox <gi...@apache.org> on 2020/04/21 09:58:14 UTC

[GitHub] [bookkeeper] eolivelli edited a comment on issue #2316: API to delete multiple ledgers at once

eolivelli edited a comment on issue #2316:
URL: https://github.com/apache/bookkeeper/issues/2316#issuecomment-617079931


   @mino181295  
   `removeLedgerMetadata(Set<Long> ledgerIds, Version version)`
   this API does not work, because for each ledger you need a different "Version" object.
   So maybe it would look like this:
   `removeLedgerMetadata(List<LedgerIdAndVersion> ledgerIds)`
   
   please also check if in the case of "deleteLedgerOp" we have the Version or we are deleting the znode unconditionally
   
   is ZKUtils a BK class or a ZooKeeper class (check the package name) ?.
   btw, the answer is that we have to use "multi" and we have to introduce a new function


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org