Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
yehudasa committed Nov 29, 2016
1 parent 55dcebd commit 688613f
Show file tree
Hide file tree
Showing 3 changed files with 87 additions and 88 deletions.
4 changes: 2 additions & 2 deletions src/rgw/rgw_dencoder.cc
Expand Up @@ -172,7 +172,7 @@ void RGWObjManifest::get_implicit_location(uint64_t cur_part_id, uint64_t cur_st

if (!cur_part_id) {
if (ofs < max_head_size) {
location->placement_rule = head_placement_rule;
location->set_placement_rule(head_placement_rule);
*location = obj;
return;
} else {
Expand Down Expand Up @@ -204,7 +204,7 @@ void RGWObjManifest::get_implicit_location(uint64_t cur_part_id, uint64_t cur_st
// to get the right shadow object location
loc.key.set_instance(tail_instance);

location->placement_rule = tail_bucket.placement_rule;
location->set_placement_rule(tail_bucket.placement_rule);
*location = loc;
}

Expand Down

0 comments on commit 688613f

Please sign in to comment.