Description
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.
Attachments
Issue Links
- links to