Commit cbcf0e3
rgw/rados: get_part_obj_state() fixes accounted_size when uncompressed
the part head objects don't have a RGW_ATTR_MANIFEST attribute, so
get_obj_state_impl() isn't able to set the correct
RGWObjState::accounted_size unless RGW_ATTR_COMPRESSION provides one
get_part_obj_state() builds a fake manifest in memory to represent the
part and updates state.size accordingly, but it hadn't corrected the
value of state.accounted_size
Signed-off-by: Casey Bodley <[email protected]>1 parent 56bf507 commit cbcf0e3
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7047 | 7047 | | |
7048 | 7048 | | |
7049 | 7049 | | |
| 7050 | + | |
| 7051 | + | |
| 7052 | + | |
7050 | 7053 | | |
7051 | 7054 | | |
7052 | 7055 | | |
| |||
0 commit comments