---
title: "Redpanda Kafka S3 outage: uploads time out, Raft holds"
description: "Redpanda v26.2.2 Cloud Topics with S3 down: L0 uploads retry until request.timeout.ms, the batch cache still serves tailing reads, and nothing acked is lost."
url: https://monedula.dev/kafka-simulator/scenarios/redpanda-object-storage-down/
---

# Redpanda Kafka S3 outage: uploads time out, Raft holds

Scenario 11.1.3 · Redpanda: object storage goes down. Diskless · Advanced · about 4 min · Apache Kafka 4.4 · Redpanda.

Redpanda v26.2.2 Cloud Topics · with S3 stopped the Raft groups stay healthy and nothing acked is lost: an L0 upload retries until the producer's request.timeout.ms, the batch cache still serves a tailing consumer, a read that needs S3 gets nothing, and the reconciler stalls.

Run it: https://monedula.dev/kafka-simulator/playground/?scenario=11.1.3

## What you start with

broker-2 leads orders-1, the partition producer p-all (acks=all, az-a) writes to. As in the write path, each record waits in broker-2's L0 buffer, uploads to S3 in an L0 object, gets its offset when broker-2 appends a placeholder to the partition's Raft log, and is acked once a follower holds the placeholder too, a majority of three. Redpanda bounds a produce request's upload by the request's timeout, the producer's request.timeout.ms; p-all sets it to 5000 ms (the Java client's default is 30 s) so the scene stays short. Group g-tail (az-a) reads records as they land. S3 stops at 4.1 s and returns at 10.1 s; group g-lag (az-a) joins during the outage and starts at the beginning of the log, whose first record the reconciler has already moved to an L1 object. The buffer interval and the upload are slowed so each phase gets its own frame.

## Step by step

1. **S3 stops; the Raft groups stay healthy** (t+4.300s): order-1 is acked, g-tail has read it from broker-2's cache, and the reconciler moved it into L1 object l1-0001 at 3890 ms (LRO 0). order-2's L0 object l0-0002 finished uploading at 4000 ms and broker-2 appended its placeholder at offset 1. S3 stops at 4100 ms. At 4300 ms that placeholder reaches broker-1 and broker-3 through Raft, which does not touch S3: the high watermark moves to 2 and p-all is acked for order-2. Every partition keeps its leader and term. [Open at this step](https://monedula.dev/kafka-simulator/playground/?scenario=11.1.3&t=0)
2. **Uploads retry; nothing new is acked** (t+8.550s): p-all sends order-3 at 4450 ms; broker-2 buffers it in L0 object l0-0003 and starts the upload at 4950 ms. The PUT fails at 5550 ms, and broker-2 tries again every 1 s (the simulator's interval): at 6550, 7550 and 8550 ms each attempt fails too. order-3 has no placeholder and so no offset; it is not acked, the high watermark stays 2, and p-all waits. [Open at this step](https://monedula.dev/kafka-simulator/playground/?scenario=11.1.3&t=1)
3. **After request.timeout.ms the produce times out** (t+9.451s): At 9450 ms, 5000 ms after p-all sent order-3, the request reaches p-all's request.timeout.ms, which bounds its upload in Redpanda. p-all gets REQUEST_TIMED_OUT (Redpanda's produce handler maps the timeout to it), which is retriable. At 9451 ms broker-2 gives the upload up: l0-0003 is not in S3 and no placeholder points at it, so order-3 never had an offset. Nothing that was acked is touched. [Open at this step](https://monedula.dev/kafka-simulator/playground/?scenario=11.1.3&t=2)
4. **A tailing consumer is served from the cache; a lagging one gets nothing** (t+9.800s): g-tail is at the end of the log: it read order-2 at 4800 ms, with S3 already down, from broker-2's batch cache, which broker-2 filled when it appended order-2's placeholder. g-lag joined at 4400 ms and starts at offset 0, which only L1 object l1-0001 in S3 holds. Each of its polls needs a GET, so it returns no records and no error (the simulator's choice; Redpanda times the read out), and g-lag stays at offset 0. [Open at this step](https://monedula.dev/kafka-simulator/playground/?scenario=11.1.3&t=3)
5. **The reconciler stalls** (t+10.000s): broker-2's reconciler tries to move offset 1 (order-2) into a new L1 object at 6000, 8000 and 10000 ms. Each L1 upload fails, so the LRO stays at 0 and order-2 stays in L0; a stalled run tries again 2 s later. Meanwhile p-all's retry of order-3 has waited in broker-2's new L0 buffer (l0-0004) since 9850 ms. [Open at this step](https://monedula.dev/kafka-simulator/playground/?scenario=11.1.3&t=4)
6. **S3 returns: retries succeed, nothing acked was lost** (t+12.640s): S3 returns at 10100 ms. The upload of l0-0004 goes through, broker-2 places order-3 at offset 2 (10950 ms), its placeholder reaches the followers, and p-all is acked (11250 ms). g-lag reads offset 0 from l1-0001 in S3 at 10400 ms, then offsets 1 and 2 from broker-2's cache; g-tail reads order-3 from the cache. The reconciler's run at 12000 ms moves offsets 1 and 2 into l1-0002, and the LRO reaches 2 at 12640 ms. Both groups have read and committed all three records. [Open at this step](https://monedula.dev/kafka-simulator/playground/?scenario=11.1.3&t=5)

## The takeaway

S3 was down for 6 s and nothing acked was lost. The Raft groups did not notice: order-2's placeholder, appended 100 ms before S3 stopped, reached a majority through Raft, which does not touch S3, and was acked during the outage, and no partition changed its leader or term. What needs S3 stopped. broker-2 kept retrying the upload of order-3's L0 object, but Redpanda bounds a produce request's upload by the request's timeout and its produce handler answers a request that runs out of it with REQUEST_TIMED_OUT: 5000 ms after p-all sent order-3, the request timed out with that retriable error and the upload was given up. No placeholder points at that object, so order-3 never had an offset and was never acked. p-all retried it, the upload went through once S3 was back, and order-3 was placed and acked. Reads split by where the record was: g-tail read order-2 during the outage from broker-2's batch cache, filled when broker-2 appended its placeholder; g-lag's first record, offset 0, was in an L1 object only S3 holds, so it read nothing until S3 returned, then read the whole log. The reconciler's L1 upload failed too, so the LRO stayed at 0 until the first run after S3 returned moved offsets 1 and 2 to L1. Simulator choices: the upload is tried again every 1 s (Redpanda backs off from 100 ms in a retry chain); a read that needs S3 returns no records and no error (Redpanda times the read out; the error a consumer would see was not traced); a stalled reconciler run tries again 2 s later; and the buffer interval and the upload time are the slowed figures of the write path.

## Configs in this scenario

- [`request.timeout.ms`](https://github.com/redpanda-data/redpanda/blob/v26.2.2/src/v/cloud_topics/frontend/frontend.cc#L686-L691): How long the client waits for the response to one request before it retries or fails it (default 30000 in the Java client, which sends it as each produce request's timeout); on a Redpanda Cloud Topics topic (redpanda.storage.mode=cloud) that timeout also bounds the L0 upload of the request's records, and a request that runs out of it is answered REQUEST_TIMED_OUT.
- [`acks`](https://github.com/redpanda-data/redpanda/blob/v26.2.2/src/v/cloud_topics/frontend/frontend.cc#L659-L673): On a Redpanda Cloud Topics topic (redpanda.storage.mode=cloud) acks=1 and acks=all are answered at the same point, once the L0 object holding the batch is uploaded and a Raft majority holds its placeholder, because Cloud Topics replace the requested level with a quorum ack (acks=0 takes the same path). [How acks works](https://monedula.dev/kafka/configs/acks/)

## Further reading

- [Redpanda v26.2.2 source on GitHub](https://github.com/redpanda-data/redpanda/blob/v26.2.2/src/v/cloud_topics/frontend/frontend.cc)

## Troubleshooting

- [TimeoutException in Kafka producers: causes and fixes](https://monedula.dev/kafka/troubleshooting/producer-timeout-exception/)
