use macro OB_BUILD_RPM to control error log output
This commit is contained in:
parent
46faad3ae7
commit
9d383e7b7a
@ -155,10 +155,12 @@ inline int ObITabletMdsInterface::get_mds_data_from_tablet<ObTabletCreateDeleteM
|
||||
MDS_LOG_GET(WARN, "failed to do read op", K(tablet_status_cache));
|
||||
}
|
||||
} else {
|
||||
#ifndef OB_BUILD_RPM
|
||||
// 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));
|
||||
}
|
||||
#endif
|
||||
|
||||
if (CLICK_FAIL(ObTabletMdsData::load_mds_dump_kv(allocator, tablet_status_addr, kv))) {
|
||||
MDS_LOG_GET(WARN, "failed to load mds dump kv");
|
||||
|
@ -4244,7 +4244,6 @@ int ObTablet::build_migration_tablet_param(
|
||||
|
||||
ObArenaAllocator arena_allocator(common::ObMemAttr(MTL_ID(), "BuildMigParam"));
|
||||
ObStorageSchema *storage_schema = nullptr;
|
||||
const ObTabletAutoincSeq *tablet_autoinc_seq = nullptr;
|
||||
if (!is_empty_shell()) {
|
||||
if (OB_FAIL(load_storage_schema(arena_allocator, storage_schema))) {
|
||||
LOG_WARN("fail to load storage schema", K(ret));
|
||||
|
Loading…
x
Reference in New Issue
Block a user