Files
my-rook-config/pkg/daemon/discover
Artem Torubarov d18ff0da06 osd: detect in-use to empty device transition so a disk swap triggers a reconcile
The daemon only flagged a device change from in-use to empty, never the
reverse, so an in-use disk was never recorded as non-empty and a later
disk swap produced no ConfigMap update or reconcile. This is needed for
OSD replacement to work automatically: without it a destroyed OSD slot is
never reprovisioned after the disk is swapped. Compare the empty state in
both directions so the swap becomes a real transition that triggers the
reconcile.

Signed-off-by: Artem Torubarov <artem.torubarov@sap.com>
2026-07-27 18:44:01 +02:00
..