mirror of
https://github.com/ceph/ceph
synced 2025-02-20 17:37:29 +00:00
osd: Change a check to an assert() since it can't happen anymore
Signed-off-by: David Zafman <dzafman@redhat.com>
This commit is contained in:
parent
8ad4b29113
commit
8e2b9a07e0
@ -829,11 +829,8 @@ map<pg_shard_t, ScrubMap *>::const_iterator
|
||||
goto out;
|
||||
}
|
||||
|
||||
if (oi.soid != obj) {
|
||||
shard_info.set_oi_attr_corrupted();
|
||||
error_string += " oi_attr_corrupted";
|
||||
goto out;
|
||||
}
|
||||
// This is automatically corrected in PG::_repair_oinfo_oid()
|
||||
assert(oi.soid == obj);
|
||||
|
||||
if (auth_version != eversion_t()) {
|
||||
if (!object_error.has_object_info_inconsistency() && !(bl == auth_bl)) {
|
||||
|
Loading…
Reference in New Issue
Block a user