kowshik opened a new pull request #10684:
URL: https://github.com/apache/kafka/pull/10684


   - In `Log.rebuildProducerState()` I've removed usage of the `allSegments` 
local variable.
   - In `Log.collectAbortedTransactions()` I'm now raising an exception when 
the segment can't be found.
   - I've introduced a new `LogSegments.higherEntries()` API that's now used to 
make the logic a bit more readable in `Log.read()`, `Log. 
collectAbortedTransactions()` and `Log.deletableSegments()` APIs.
   
   **Tests:**
   Relying on existing unit tests.


-- 
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:
us...@infra.apache.org


Reply via email to