Skip to content

AxonOps — AI-Native Control Plane for Open Source Data Platforms

Kafka Tiered-Storage Failure

First separate local Kafka storage from the remote-storage plugin and object store.

SymptomArea
Remote copy lag growsUpload throughput, plugin queue, object store, auth
Remote fetch errorsMissing/corrupt object, read auth, network, plugin
Remote delete errorsDelete auth, retention, object lock, plugin
Local disk fills despite tieringCopy not complete, local retention, cleanup delay
Historical fetch is slowCold-read latency, cache, object-store/network limits

Collect RemoteCopy*, RemoteFetch*, RemoteDelete*, lag and queue metrics; broker/plugin logs; affected topic-partitions/segments; topic and broker remote-storage configuration; object-store request IDs; and recent credential or lifecycle-policy changes.

Terminal window
kafka-configs.sh --bootstrap-server kafka:9092 \
--entity-type topics --entity-name orders --describe
kafka-log-dirs.sh --bootstrap-server kafka:9092 \
--describe --topic-list orders
  1. Confirm the local replica and partition leader are healthy.
  2. Verify remote-storage manager and metadata-manager classes/configuration on all relevant brokers.
  3. Check object-store DNS, TLS, credentials, permissions, quotas, throttling, lifecycle rules, and immutability locks.
  4. Compare remote object/metadata identity with the affected partition and leader epoch.
  5. Check local and total retention limits plus copy/delete lag.
  • Restore plugin/object-store connectivity and authorization.
  • Remove unintended object-store throttles or lifecycle deletion.
  • Add local capacity while copy backlog drains.
  • Repair or restore remote objects only through the remote-storage implementation's supported procedure.
  • Keep local replicas until remote copy completion is confirmed.

Danger

Do not delete local segments to force a remote read and do not edit remote metadata manually. A remote object without consistent Kafka remote metadata is not a valid recovery.

remote.copy.lag.ms and remote.copy.lag.bytes can intentionally delay upload. Confirm these topic settings before treating the delay as a fault. Future-timestamp retention behavior also changed; review timestamps when local retention appears surprising.

Copy/fetch/delete errors stop, lag drains, historical reads succeed, local usage follows policy, and failover to another replica still accesses the expected remote data.

Monitor remote operation errors/latency/lag, object-store quotas and credential expiry, local headroom while remote is unavailable, and regularly test historical reads and broker failover.