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

TransactionMarkerRequestCompletionHandler should treat storage exceptions as retriable

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.5.0
    • Fix Version/s: 2.5.0, 2.3.2, 2.4.2
    • Component/s: core
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: