mirror of
https://github.com/ceph/ceph
synced 2025-03-11 02:39:05 +00:00
Merge pull request #29094 from cbodley/wip-40806
radosgw-admin: bucket sync status not 'caught up' during full sync Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
This commit is contained in:
commit
0849b0e8df
@ -2481,11 +2481,11 @@ static int bucket_source_sync_status(rgw::sal::RGWRadosStore *store, const RGWZo
|
||||
shards_behind.insert(shard_id);
|
||||
}
|
||||
}
|
||||
if (shards_behind.empty()) {
|
||||
out << indented{width} << "bucket is caught up with source\n";
|
||||
} else {
|
||||
if (!shards_behind.empty()) {
|
||||
out << indented{width} << "bucket is behind on " << shards_behind.size() << " shards\n";
|
||||
out << indented{width} << "behind shards: [" << shards_behind << "]\n" ;
|
||||
} else if (!num_full) {
|
||||
out << indented{width} << "bucket is caught up with source\n";
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user