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 2021/02/08 18:25:24 UTC

[GitHub] [bookkeeper] WJL3333 opened a new issue #2585: How does ledger recovery works internal ?

WJL3333 opened a new issue #2585:
URL: https://github.com/apache/bookkeeper/issues/2585


   when ledger open with recovery. which data range will be recovery?
   
   all entry data before LAC in the ensemble? 
   
   or 
   
   all the data available in the ensemble include those not reach Qa but already write in some bookie?
   
   need some material on the consistent protocol.
   


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



[GitHub] [bookkeeper] Vanlightly edited a comment on issue #2585: How does ledger open with recovery works internal ?

Posted by GitBox <gi...@apache.org>.
Vanlightly edited a comment on issue #2585:
URL: https://github.com/apache/bookkeeper/issues/2585#issuecomment-982537657


   You can find the protocol described concisely in a TLA+ specification here: https://github.com/Vanlightly/bookkeeper-tlaplus/blob/main/BookKeeperProtocol.tla
   
   To answer your specific question, ledger recovery focuses on the last ensemble of the ledger. It starts at the (highest known LAC + 1) of the ensemble of bookies and stops when it reaches the last unrecoverable entry. Unrecoverable means that no Ack Quorum of bookies have the entry. All entries up to that point get rewritten back to the ledger, and recovery completes when those entries have been committed (reached AQ).


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



[GitHub] [bookkeeper] Vanlightly commented on issue #2585: How does ledger open with recovery works internal ?

Posted by GitBox <gi...@apache.org>.
Vanlightly commented on issue #2585:
URL: https://github.com/apache/bookkeeper/issues/2585#issuecomment-982537657


   You can find the protocol described concisely in a TLA+ specification here: https://github.com/Vanlightly/bookkeeper-tlaplus/blob/main/BookKeeperProtocol.tla
   
   To answer your specific question, ledger recovery focuses on the last ensemble of the ledger. It starts at the highest known LAC of the ensemble of bookies and stops when it reaches the last unrecoverable entry. Unrecoverable means that no Ack Quorum of bookies have the entry. All entries up to that point get rewritten back to the ledger, and recovery completes when those entries have been committed (reached AQ).


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



[GitHub] [bookkeeper] Vanlightly closed issue #2585: How does ledger open with recovery works internal ?

Posted by GitBox <gi...@apache.org>.
Vanlightly closed issue #2585:
URL: https://github.com/apache/bookkeeper/issues/2585


   


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



[GitHub] [bookkeeper] WJL3333 commented on issue #2585: How does ledger open with recovery works internal ?

Posted by GitBox <gi...@apache.org>.
WJL3333 commented on issue #2585:
URL: https://github.com/apache/bookkeeper/issues/2585#issuecomment-982606968


   thanks for explain : - ) TLA+ is a good material to understand bookkeeper !


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