Append Object
-----------
+-------------
Append data to an object. You must have write permissions on the bucket to perform this operation.
-It is used to upload files in appending mode.The type of the objects created by the Append Object
+It is used to upload files in appending mode. The type of the objects created by the Append Object
operation is Appendable Object, and the type of the objects uploaded with the Put Object operation is Normal Object.
**Append Object can't be used if bucket versioning is enabled.**
if (r < 0) {
return r;
}
- obj_ctx.obj.set_atomic(head_obj);
+ obj_ctx.set_atomic(head_obj);
RGWRados::Object op_target(store, bucket_info, obj_ctx, head_obj);
//For Append obj, disable versioning
op_target.set_versioning_disabled(true);
RGWRados::Object::Write obj_op(&op_target);
if (cur_manifest) {
- cur_manifest->append(manifest, store);
+ cur_manifest->append(manifest, store->svc.zone);
obj_op.meta.manifest = cur_manifest;
} else {
obj_op.meta.manifest = &manifest;