Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-17241 KIP-853 follow-ups
  3. KAFKA-17304

QuorumController crashes when kraft writes a control record

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.9.0
    • None
    • None

    Description

      [2024-08-08 18:30:44,022] INFO [RaftManager id=1] Received user request to resign from the current epoch 3 (org.apache.kafka.raft.KafkaRaftClient)
      [2024-08-08 18:30:44,023] ERROR Encountered fatal fault: exception while renouncing leadership (org.apache.kafka.server.fault.ProcessTerminatingFaultHandler)
      java.lang.RuntimeException: Unable to reset to last stable offset 3798. No in-memory snapshot found for this offset.
              at org.apache.kafka.controller.OffsetControlManager.deactivate(OffsetControlManager.java:268)
              at org.apache.kafka.controller.QuorumController.renounce(QuorumController.java:1271)
              at org.apache.kafka.controller.QuorumController.handleEventException(QuorumController.java:544)
              at org.apache.kafka.controller.QuorumController.access$800(QuorumController.java:179)
              at org.apache.kafka.controller.QuorumController$ControllerWriteEvent.complete(QuorumController.java:876)
              at org.apache.kafka.controller.QuorumController$ControllerWriteEvent.handleException(QuorumController.java:866)
              at org.apache.kafka.queue.KafkaEventQueue$EventContext.completeWithException(KafkaEventQueue.java:153)
              at org.apache.kafka.queue.KafkaEventQueue$EventContext.run(KafkaEventQueue.java:142)
              at org.apache.kafka.queue.KafkaEventQueue$EventHandler.handleEvents(KafkaEventQueue.java:215)
              at org.apache.kafka.queue.KafkaEventQueue$EventHandler.run(KafkaEventQueue.java:186)
              at java.base/java.lang.Thread.run(Thread.java:840) 

      Restarting the crashed controller fixes the issue.

      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: