From 57b748770793e17d4249109c517386f6f010f759 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Sun, 15 Jun 2025 13:11:29 +0800 Subject: [PATCH] cls/rbd: mark cls_rbd_snap as forward incompatible since nautilus ceph/ceph@32b14ed1 broke backward compatibility of cls_rbd_snap's on-disk format by removing decoding of the "parent" field. When re-encoding instances, this field is now lost even if originally non-empty. This breaking change should have been caught by readable.sh tests, but the tests passed because they reused the same instance for re-encoding, preserving undecoded fields by only overwriting decoded ones. An upcoming change in ceph/ceph will allocate fresh instances for each decode operation instead of reusing existing ones. This will expose the compatibility break and cause test failures. Mark cls_rbd_snap as forward incompatible starting from v15 (earliest version with archived corpus) to properly handle this breaking change and prepare for the improved testing approach. Signed-off-by: Kefu Chai --- archive/15.0.0-539-g191ab33faf/forward_incompat/cls_rbd_snap | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 archive/15.0.0-539-g191ab33faf/forward_incompat/cls_rbd_snap diff --git a/archive/15.0.0-539-g191ab33faf/forward_incompat/cls_rbd_snap b/archive/15.0.0-539-g191ab33faf/forward_incompat/cls_rbd_snap new file mode 100644 index 00000000..e69de29b -- 2.39.5