Skip to content

Commit

Permalink
Merge pull request #15912 from cloudbau/wip-20107
Browse files Browse the repository at this point in the history
rgw: Fix duplicate tag removal during GC

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Tested-by: Yuri Weinstein <yweinste@redhat.com>
  • Loading branch information
yehudasa committed Jun 29, 2017
2 parents 5712698 + 8eeee2b commit 14ab16a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/rgw/rgw_gc.cc
Expand Up @@ -222,6 +222,10 @@ int RGWGC::process(int index, int max_secs)
}
}
}
if (!remove_tags.empty()) {
RGWGC::remove(index, remove_tags);
remove_tags.clear();
}
} while (truncated);

done:
Expand Down

0 comments on commit 14ab16a

Please sign in to comment.