kafka/clients
Sushant Mahajan e68781414e
CI / build (push) Waiting to run Details
KAFKA-19204: Allow persister retry of initializing topics. (#19603)
* Currently in the share group heartbeat flow, if we see a TP subscribed
for the first time, we move that TP to initializing state in GC and let
the GC send a persister request to share group initialize the
aforementioned TP.
* However, if the coordinator runtime request for share group heartbeat
times out (maybe due to restarting/bad broker), the future completes
exceptionally resulting in persiter request to not be sent.
* Now, we are in a bad state since the TP is in initializing state in GC
but not persister initialized. Future heartbeats for the same share
partitions will also not help since we do not allow retrying persister
request for initializing TPs.
* This PR remedies the situation by allowing the same.
* A temporary fix to increase offset commit timeouts in system tests was
added to fix the issue. In this PR, we revert that change as well.

Reviewers: Andrew Schofield <aschofield@confluent.io>
2025-05-02 14:25:29 +01:00
..
clients-integration-tests/src/test KAFKA-19204: Allow persister retry of initializing topics. (#19603) 2025-05-02 14:25:29 +01:00
src MINOR: use `isEmpty()` to avoid compiler warning (#19616) 2025-05-01 23:51:36 -07:00
.gitignore