mirror of
https://github.com/ceph/ceph
synced 2025-01-12 06:00:46 +00:00
Merge pull request #8994 from theanalyst/fix/15776
rgw: log name instead of id for SystemMetaObj on failure
This commit is contained in:
commit
367bd0aec9
@ -383,8 +383,8 @@ int RGWSystemMetaObj::init(CephContext *_cct, RGWRados *_store, bool setup_obj,
|
||||
} else if (!old_format) {
|
||||
r = read_id(name, id);
|
||||
if (r < 0) {
|
||||
ldout(cct, 0) << "error in read_id for id " << id << " : " << cpp_strerror(-r) << dendl;
|
||||
return r;
|
||||
ldout(cct, 0) << "error in read_id for object name: " << name << " : " << cpp_strerror(-r) << dendl;
|
||||
return r;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -3450,7 +3450,7 @@ int RGWRados::init_zg_from_period(bool *initialized)
|
||||
return 0;
|
||||
}
|
||||
if (ret < 0) {
|
||||
ldout(cct, 0) << "failed reading zonegroup info: " << " " << cpp_strerror(-ret) << dendl;
|
||||
ldout(cct, 0) << "failed reading zonegroup info: " << cpp_strerror(-ret) << dendl;
|
||||
return ret;
|
||||
}
|
||||
ldout(cct, 20) << "period zonegroup name " << zonegroup.get_name() << dendl;
|
||||
|
Loading…
Reference in New Issue
Block a user