Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-14300

KRaft controller snapshot not trigger after resign

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.4.0, 3.3.2
    • None
    • None

    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

          Activity

            People

              jsancio José Armando García Sancio
              jsancio José Armando García Sancio
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: