]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: dencode "removed" flag in RGWOLHInfo
authorJ. Eric Ivancich <ivancich@redhat.com>
Mon, 10 Apr 2023 17:40:32 +0000 (13:40 -0400)
committerJ. Eric Ivancich <ivancich@redhat.com>
Wed, 9 Aug 2023 14:08:02 +0000 (10:08 -0400)
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 <ivancich@redhat.com>
src/rgw/driver/rados/rgw_rados.cc

index b714cbd566018cc80b54cdae1c766408647414bc..09a762de29a47fe64f3acbc5ffc0f11cc70c9820 100644 (file)
@@ -10073,6 +10073,7 @@ void RGWOLHInfo::generate_test_instances(list<RGWOLHInfo*> &o)
 void RGWOLHInfo::dump(Formatter *f) const
 {
   encode_json("target", target, f);
+  encode_json("removed", removed, f);
 }
 
 void RGWOLHPendingInfo::dump(Formatter *f) const