José Armando García Sancio created KAFKA-14300:
--------------------------------------------------
Summary: KRaft controller snapshot not trigger after resign
Key: KAFKA-14300
URL: https://issues.apache.org/jira/browse/KAFKA-14300
Project: Kafka
Issue Type: Bug
Reporter: José Armando García Sancio
Assignee: José Armando García Sancio
When the active KRaft controller resigns it resets the
newBytesSinceLastSnapshot field to zero. This is not accurate since it is not
guarantee that there is an on disk snapshot at the committed offset.
Since when the active controller resign it always reverts to the last committed
state then it doesn't reset the newBytesSinceLastSnapshot.
newBytesSinceLastSnapshot always represent committed bytes read since the last
snapshot.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)