Fixes: #8972
Backport: firefly, dumpling
Reported-by: Patrycja Szabłowska <szablowska.patrycja@gmail.com>
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit
0f8929a68aed9bc3e50cf15765143a9c55826cd2)
unaccount_entry(header, remove_entry);
if (op.log_op) {
- rc = log_index_operation(hctx, op.name, CLS_RGW_OP_DEL, op.tag, remove_entry.meta.mtime,
+ rc = log_index_operation(hctx, remove_oid_name, CLS_RGW_OP_DEL, op.tag, remove_entry.meta.mtime,
remove_entry.ver, CLS_RGW_STATE_COMPLETE, header.ver, header.max_marker);
if (rc < 0)
continue;