[
https://issues.apache.org/jira/browse/KAFKA-21061?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rishi Kant Rana reassigned KAFKA-21061:
---------------------------------------
Assignee: Rishi Kant Rana
> AtomicMoveNotSupportedException(Invalid cross‑device link) when deleting
> topic on mdadm software‑RAID
> -----------------------------------------------------------------------------------------------------
>
> Key: KAFKA-21061
> URL: https://issues.apache.org/jira/browse/KAFKA-21061
> Project: Kafka
> Issue Type: Bug
> Affects Versions: 3.9.1
> Reporter: evan.zhao
> Assignee: Rishi Kant Rana
> Priority: Major
> Attachments: image-2026-09-10-16-40-49-605.png,
> image-2026-09-10-16-41-21-375.png
>
>
> h3. Environment
> * OS: Linux
> * Kafka Version: {{3.9.1}}
> * Storage: Data directory resides on *mdadm software RAID array (/dev/md126)*
> * Filesystem: ext4 on md raid device
> !image-2026-09-10-16-41-21-375.png|width=463,height=299!
> h3. Problem Description
> When deleting a topic, Kafka tries to rename topic partition directory to a
> {{-delete}} suffixed marker directory via
> {{{}Utils.atomicMoveWithFallback(){}}}. It throws
> {{{}java.nio.file.AtomicMoveNotSupportedException: Invalid cross‑device
> link{}}}.
> After this exception, Kafka marks the entire log directory as {*}offline{*},
> stops serving all replicas under this log dir. Internal
> {{__consumer_offsets}} partitions in the same log directory become
> unavailable, group metadata and offset loading fails, consumer groups stop
> working.
> Stack trace snippet:
> !image-2026-09-10-16-40-49-605.png|width=548,height=210!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)