add error log for load mds dump kv interface
This commit is contained in:
@ -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));
|
MDS_LOG_GET(WARN, "failed to do read op", K(tablet_status_cache));
|
||||||
}
|
}
|
||||||
} else {
|
} 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))) {
|
if (CLICK_FAIL(ObTabletMdsData::load_mds_dump_kv(allocator, tablet_status_addr, kv))) {
|
||||||
MDS_LOG_GET(WARN, "failed to load mds dump kv");
|
MDS_LOG_GET(WARN, "failed to load mds dump kv");
|
||||||
} else if (nullptr == kv) {
|
} else if (nullptr == kv) {
|
||||||
|
|||||||
Reference in New Issue
Block a user