You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Lucas Brutschy (Jira)" <ji...@apache.org> on 2023/12/04 09:39:00 UTC

[jira] [Created] (KAFKA-15967) Fix revocation in reconcilation logic

Lucas Brutschy created KAFKA-15967:
--------------------------------------

             Summary: Fix revocation in reconcilation logic
                 Key: KAFKA-15967
                 URL: https://issues.apache.org/jira/browse/KAFKA-15967
             Project: Kafka
          Issue Type: Sub-task
            Reporter: Lucas Brutschy


Looks like there is a problem in the reconciliation logic.

We are getting 6 partitions from an HB, we add them to {{{}assignmentReadyToReconcile{}}}. Next HB we get only 4 partitions (2 are revoked), we also add them to {{{}assignmentReadyToReconcile{}}}, but the 2 partitions that were supposed to be removed from the assignment are never removed because they are still in {{{}assignmentReadyToReconcile{}}}.

This was discovered during integration testing of [https://github.com/apache/kafka/pull/14878] - part of the test testRemoteAssignorRange was disabled and should be re-enabled once this is fixed.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)