mirror of
https://github.com/ceph/ceph
synced 2025-03-11 02:39:05 +00:00
Merge pull request #11505 from cbodley/wip-17571
rgw: clean up RGWShardedOmapCRManager on early return Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
This commit is contained in:
commit
574f4fde1f
@ -814,6 +814,7 @@ public:
|
||||
}
|
||||
if (get_ret_status() < 0) {
|
||||
ldout(cct, 0) << "ERROR: failed to fetch metadata sections" << dendl;
|
||||
yield entries_index->finish();
|
||||
yield lease_cr->go_down();
|
||||
drain_all();
|
||||
return set_cr_error(get_ret_status());
|
||||
@ -829,6 +830,7 @@ public:
|
||||
}
|
||||
if (get_ret_status() < 0) {
|
||||
ldout(cct, 0) << "ERROR: failed to fetch metadata section: " << *sections_iter << dendl;
|
||||
yield entries_index->finish();
|
||||
yield lease_cr->go_down();
|
||||
drain_all();
|
||||
return set_cr_error(get_ret_status());
|
||||
|
Loading…
Reference in New Issue
Block a user