poorbarcode opened a new pull request, #18290:
URL: https://github.com/apache/pulsar/pull/18290

   ### Motivation
   
   see: 
   - https://github.com/apache/pulsar/actions/runs/3303558527/jobs/5456181204
   
   `TxnLogBufferedWriter` is used to write multiple data to the ledger in 
batches and maintains a task queue internally. When the 
`TxnLogBufferedWriter.close` is called, tasks that have not yet been executed 
in the queue will fail early, causing the failed task get `callback` before the 
previous tasks. This makes it flaky to validate the execution results 
sequentially.
   
   ### Modifications
   
   - Only verify that the order of the correct callback is verified
   - Make sure all requests have received callbacks.
   
   ### Documentation
   
   <!-- DO NOT REMOVE THIS SECTION. CHECK THE PROPER BOX ONLY. -->
   
   - [ ] `doc` <!-- Your PR contains doc changes. Please attach the local 
preview screenshots (run `sh start.sh` at `pulsar/site2/website`) to your PR 
description, or else your PR might not get merged. -->
   - [ ] `doc-required` <!-- Your PR changes impact docs and you will update 
later -->
   - [x] `doc-not-needed` <!-- Your PR changes do not impact docs -->
   - [ ] `doc-complete` <!-- Docs have been already added -->
   
   ### Matching PR in forked repository
   
   PR in forked repository:
   
   - https://github.com/poorbarcode/pulsar/pull/35
   


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