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 2022/04/07 06:21:27 UTC

[GitHub] [bookkeeper] gaozhangmin commented on issue #3150: How to recover Bookies that completely run out of storage space?

gaozhangmin commented on issue #3150:
URL: https://github.com/apache/bookkeeper/issues/3150#issuecomment-1091123808

   @RaulGracia  Add or remove ledger and journal directory is supported, I think we lack of the doc about this.
    I will open a new pr to add doc about how to update cookie.  The step is as below:
    1.  Get bookie server instanceid: bin/bookkeeper shell whatisinstanceid
    2. Generate cookie version file:  bin/bookkeeper shell cookie_generate -i ${instanceid}  -j ${all journal directories} -l  ${all ledger directories}  -o VERSION  ${bookie server id}.
    3. Copy VERSION file to all journal and ledger directories.
    4. update cookie in ZOOKEEPER:  bin/bookkeeper shell cookie_update --cookie-file /data3/bookkeeper/ledgers/current/VERSION


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

To unsubscribe, e-mail: issues-unsubscribe@bookkeeper.apache.org

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