From: J. Eric Ivancich Date: Mon, 10 Apr 2023 17:40:32 +0000 (-0400) Subject: rgw: dencode "removed" flag in RGWOLHInfo X-Git-Tag: v19.0.0~535^2~7 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=a66f8283ac4a07a8cf17ff1d2085c6a6e7deb672;p=ceph.git rgw: dencode "removed" flag in RGWOLHInfo When an OLH structure was dencoded the "removed" flag was not included. That flag specifies whether the OLH is a delete marker. This adds that flag to the dencoding. Signed-off-by: J. Eric Ivancich --- diff --git a/src/rgw/driver/rados/rgw_rados.cc b/src/rgw/driver/rados/rgw_rados.cc index b714cbd5660..09a762de29a 100644 --- a/src/rgw/driver/rados/rgw_rados.cc +++ b/src/rgw/driver/rados/rgw_rados.cc @@ -10073,6 +10073,7 @@ void RGWOLHInfo::generate_test_instances(list &o) void RGWOLHInfo::dump(Formatter *f) const { encode_json("target", target, f); + encode_json("removed", removed, f); } void RGWOLHPendingInfo::dump(Formatter *f) const