Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rgw: orphans find: don't process stale bucket instances
As a large bucket might have resharded multiple times, check the cur bucket info and ensure that no reshard is in progress before we attempt to log bucket index entries. On a large sized bucket, since a bucket would have undergone reshard multiple times, this avoids wasteful processing of stale bucket instance entries Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
- Loading branch information
1 parent
a4a8524
commit 1356907
Showing
1 changed file
with
41 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters