Merge pull request #15912 from cloudbau/wip-20107

rgw: Fix duplicate tag removal during GC

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Tested-by: Yuri Weinstein <yweinste@redhat.com>
This commit is contained in:
Yehuda Sadeh 2017-06-29 12:54:28 -07:00 committed by GitHub
commit 14ab16a46f

View File

@ -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: