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

   `ProducerBatch.split()` assigns sequences to the split pieces with raw 
integer addition. 
[KAFKA-7693](https://issues.apache.org/jira/browse/KAFKA-7693) fixed an 
overflow bug in the normal send path, and I am replicating that fix here. 
   
   So when a producer's per-partition sequence is near 2^31 and a batch 
straddling the wrap is rejected with `MESSAGE_TOO_LARGE` and split, one piece 
receives a negative base sequence.


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