Chris created KAFKA-21295:
-----------------------------

             Summary: Kafka Producer stalls when crossing seqnum 2^31 with 
MESSAGE_TOO_LARGE
                 Key: KAFKA-21295
                 URL: https://issues.apache.org/jira/browse/KAFKA-21295
             Project: Kafka
          Issue Type: Bug
          Components: producer 
    Affects Versions: 4.2.2
            Reporter: Chris
            Assignee: Chris


ProducerBatch.split() assigns sequences to the split pieces with raw integer 
addition. KAFKA-7693 fixed an overflow bug in the normal send path, but not in 
this function. 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 message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to