Skip to content

Commit

Permalink
Merge pull request #6160: rgw: segments are read during HEAD on Swift…
Browse files Browse the repository at this point in the history
… DLO

Reviewed-by: Loic Dachary <ldachary@redhat.com>
  • Loading branch information
ldachary committed Oct 3, 2015
2 parents a41feec + 9ab9c44 commit 584b51d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/rgw/rgw_op.cc
Expand Up @@ -845,6 +845,12 @@ int RGWGetObj::handle_user_manifest(const char *prefix)

s->obj_size = total_len;

if (!get_data) {
bufferlist bl;
send_response_data(bl, 0, 0);
return 0;
}

r = iterate_user_manifest_parts(s->cct, store, ofs, end, bucket, obj_prefix, bucket_policy, NULL, get_obj_user_manifest_iterate_cb, (void *)this);
if (r < 0)
return r;
Expand Down

0 comments on commit 584b51d

Please sign in to comment.