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

TransactionMarkerRequestCompletionHandler should treat storage exceptions as retriable

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.5.0
    • 2.5.0, 2.3.2, 2.4.2
    • core
    • None

    Description

      If `TransactionMarkerRequestCompletionHandler` handles a `KafkaStorageException`, it throws an IllegalStateException rather than retrying. This leaves the corresponding transactional ID in state PendingAbort, where it gets stuck, because any further EndTxn or InitProducerId call will fail with a CONCURRENT_TRANSACTIONS error. We should retry these errors when writing transaction markers.

      Attachments

        Issue Links

          Activity

            People

              bob-barrett Bob Barrett
              bob-barrett Bob Barrett
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: