This is an unsafe operation. Redpanda Data recommends using the rpk cluster partitions unsafe-recover command instead.