horizonzy commented on PR #1077:
URL: https://github.com/apache/bookkeeper/pull/1077#issuecomment-1154782744

   @athanatos Hi, I have a question about this change.
   E:3 WQ:3 AQ:3.
   
   `Ledger 1` exist at three bookie.
   Bookie1: lac-12
   Bookie2: lac-11
   Bookie3: lac-11
   
   When client try to recover ledger 1. It will read entry from three bookies. 
There are two situation which will cause different result.
   
   1. Client read bookie2 `entry 12`, got NoSuchEntry failed. Then read bookie3 
`entry 12`, got NoSuchEntry failed again. It reach 
`requiredBookiesMissingEntryForRecovery`, end recovery. `Ledger 1` lac is 11 
finally.
   2. Client read bookie1 `entry12` succeed.  RecoverAddEntry to bookie2 and 
bookie3. Then read `entry 13`, all bookie NoSuchEntry failed, end recovery. 
`Ledger 1` lac is 12 finally.
   
   
   The order of client `RecoveryReadOp` send to bookie will cause different 
result. 


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to