Skip to content

Commit

Permalink
rgw: dencode "removed" flag in RGWOLHInfo
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
ivancich committed Aug 9, 2023
1 parent 7d043b8 commit a66f828
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/rgw/driver/rados/rgw_rados.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a66f828

Please sign in to comment.