artemlivshits opened a new pull request, #14705:
URL: https://github.com/apache/kafka/pull/14705

   This change fixes a broken abstraction where event execution relies on 
specific implementation detail of the ReplicaManager.appendRecords that with 
some arguments it is completed synchronously even though the interface is 
clearly asynchronous.  This assumption can be broken by changing 
implementation, as shown by KIP-890 work that added transaction verification 
stage that may result in asynchronous completion (which should be perfectly 
fine because the function interface is asynchronous and must be used as such) 
and violate the assumption of event execution.
   
   Now the event execution supports asynchronous completion and can properly 
handle asynchronous completion of the underlying functionality.
   
   *More detailed description of your change,
   if necessary. The PR title and PR message become
   the squashed commit message, so use a separate
   comment to ping reviewers.*
   
   *Summary of testing strategy (including rationale)
   for the feature or bug fix. Unit and/or integration
   tests are expected for any behaviour change and
   system tests should be considered for larger changes.*
   
   ### Committer Checklist (excluded from commit message)
   - [ ] Verify design and implementation 
   - [ ] Verify test coverage and CI build status
   - [ ] Verify documentation (including upgrade notes)
   


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