You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Bowen Li (Jira)" <ji...@apache.org> on 2026/10/23 05:09:00 UTC
[jira] [Resolved] (FLINK-40710) Dynamic Kafka Source assigns duplicate partition owners after local failover
[ https://issues.apache.org/jira/browse/FLINK-40710?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bowen Li resolved FLINK-40710.
------------------------------
Resolution: Fixed
> Dynamic Kafka Source assigns duplicate partition owners after local failover
> ----------------------------------------------------------------------------
>
> Key: FLINK-40710
> URL: https://issues.apache.org/jira/browse/FLINK-40710
> Project: Flink
> Issue Type: Bug
> Components: Connectors / Kafka
> Affects Versions: 2.3.0
> Reporter: Bowen Li
> Assignee: Bowen Li
> Priority: Major
> Labels: pull-request-available
> Fix For: 2.4.1
>
>
> After checkpoint recovery with GLOBAL assignment, a local reader failure before the next checkpoint can leave the same Kafka partition assigned to multiple readers. Returned assignments and restored reader reports are not reconciled consistently.
> A deterministic test with 2 readers and 11 partitions produces 19 reader/partition assignments after failover.
> Expected:
> Exactly one owner per physical partition.
> Impact:
> Concurrent duplicate consumption and potentially unrestorable checkpoints containing duplicate assignments.
> This was reproduced in a downstream build. The recovery failure persists with PR305 / FLINK-40615, which addresses a separate discovery race.
> We need to build the solution upon Flink-40615 / PR 305.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)