zhaizhibo opened a new issue, #4651:
URL: https://github.com/apache/bookkeeper/issues/4651
**BUG REPORT**
Scenario:
e2/w2/a1
Ledger `L1` has entries `(5-10)` to write (Thread A).
Initial state: `LAC=4`, ledger metadata: `{5: [BK1, BK2]}`.
Steps:
1. Start writes: `5,6` send request to bk server; `7` fails (channel
unwritable, queues callback).
2. `Ensemble change triggered` (since `LAC=4` matches
`newEnsembleStartEntry=5`):
3. Metadata updated to `{5: [BK3, BK4]}` (callback queued).
4. `5,6` succeed, `LAC` updates to `6`, entries removed from pending queue.
5. Issue: Entries `5-6` were written to `[BK1,BK2]`, but ZK incorrectly
records them as `[BK3,BK4]`.
--
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]