ptag = index_op->get_optag();
}
- r = target->get_state(rctx.dpp, &target->state, &target->manifest, false, rctx.y);
- if (r < 0)
- return r;
+ target->manifest = manifest;
+ target->state = state;
RGWObjState* current_state = target->state;
if (!target->obj.key.instance.empty()) {
r = target->get_current_version_state(rctx.dpp, current_state, rctx.y);
int RGWRados::Object::complete_atomic_modification(const DoutPrefixProvider *dpp, bool keep_tail, optional_yield y)
{
+ int r = get_state(dpp, &state, &manifest, false, y);
+ if (r < 0)
+ return r;
if ((!manifest) || keep_tail)
return 0;