You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Colin McCabe (Jira)" <ji...@apache.org> on 2024/08/01 18:59:00 UTC

[jira] [Updated] (KAFKA-17147) Improve KRaft add voter handling to tolerate waiting for delayed operations

     [ https://issues.apache.org/jira/browse/KAFKA-17147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Colin McCabe updated KAFKA-17147:
---------------------------------
        Parent:     (was: KAFKA-14094)
    Issue Type: Bug  (was: Sub-task)

> Improve KRaft add voter handling to tolerate waiting for delayed operations
> ---------------------------------------------------------------------------
>
>                 Key: KAFKA-17147
>                 URL: https://issues.apache.org/jira/browse/KAFKA-17147
>             Project: Kafka
>          Issue Type: Bug
>          Components: kraft
>            Reporter: José Armando García Sancio
>            Assignee: José Armando García Sancio
>            Priority: Major
>
> The current implementation for AddVoter returns an REQUEST_TIMED_OUT error anytime it needs to wait for an invariant to be satisfied. From [https://cwiki.apache.org/confluence/display/KAFKA/KIP-853%3A+KRaft+Controller+Membership+Changes#KIP853:KRaftControllerMembershipChanges-Handling.3:]
>  
>  # Wait until there are no uncommitted VotersRecord. Note that the implementation may just return a {{REQUEST_TIMED_OUT}} error if there are pending operations.
>  # Wait for the LeaderChangeMessage control record from the current epoch to get committed. Note that the implementation may just return a {{REQUEST_TIMED_OUT}} error if there are pending operations.
>  # ...
> This algorithm could be improved to wait for the invariant to become true instead of returning a timeout immediately. 



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