add error log for load mds dump kv interface

This commit is contained in:
hiddenbomb 2023-10-23 05:09:48 +00:00 committed by ob-robot
parent c9753f2968
commit c56d8b08f2

View File

@ -155,6 +155,11 @@ inline int ObITabletMdsInterface::get_mds_data_from_tablet<ObTabletCreateDeleteM
MDS_LOG_GET(WARN, "failed to do read op", K(tablet_status_cache));
}
} else {
// for debug perf issue
if (tablet_status_addr.is_disk_object()) {
MDS_LOG_GET(ERROR, "tablet status addr is disk, but cache is invalid", K(tablet_status_addr), K(tablet_status_cache));
}
if (CLICK_FAIL(ObTabletMdsData::load_mds_dump_kv(allocator, tablet_status_addr, kv))) {
MDS_LOG_GET(WARN, "failed to load mds dump kv");
} else if (nullptr == kv) {