José Armando García Sancio created KAFKA-18865:
--------------------------------------------------

             Summary: Improve KRaft handling of kraft.version
                 Key: KAFKA-18865
                 URL: https://issues.apache.org/jira/browse/KAFKA-18865
             Project: Kafka
          Issue Type: Improvement
          Components: kraft
            Reporter: José Armando García Sancio
            Assignee: José Armando García Sancio


Handling of kraft.version is a bit tricky.

The kraft.version that is exposed by the kraft client is potentially an 
uncommitted value.

In some cases kraft is interested in the latest value (irrespective of 
committed vs uncommitted) but in some case kraft should use the latest commit 
value.

For example, kraft should use the latest committed value when exposing it 
outside of the kraft client and when determining which version of quorum-state 
to serialize and persist. But KRaft should use the latest value (irrespective 
of committed vs uncommitted) when determining which control version to persist 
to the log itself.



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

Reply via email to