Reduce log print when massive tablet load and dump
This commit is contained in:
parent
90cb52ce38
commit
01c567e8e1
@ -93,7 +93,7 @@ int ObSSTable::init(const ObTabletCreateSSTableParam ¶m, common::ObIAllocato
|
||||
|
||||
void ObSSTable::reset()
|
||||
{
|
||||
FLOG_INFO("reset sstable.", KP(this), K(key_));
|
||||
LOG_DEBUG("reset sstable.", KP(this), K(key_));
|
||||
// dec ref first, then reset sstable meta
|
||||
if (hold_macro_ref_) {
|
||||
dec_macro_ref();
|
||||
|
@ -287,7 +287,7 @@ void ObMetaObjGuard<T>::reset_obj()
|
||||
if (nullptr != obj_pool_) {
|
||||
obj_pool_->release(obj_);
|
||||
} else {
|
||||
STORAGE_LOG(INFO, "release obj from allocator", KP(obj_), KP(allocator_));
|
||||
STORAGE_LOG(DEBUG, "release obj from allocator", KP(obj_), KP(allocator_));
|
||||
obj_->reset();
|
||||
obj_->~T();
|
||||
allocator_->free(obj_);
|
||||
|
@ -146,7 +146,7 @@ int ObTabletPointer::wash_obj()
|
||||
if (OB_FAIL(obj_.ptr_->inc_macro_disk_ref())) {
|
||||
LOG_WARN("fail to inc macro disk ref", K(ret), K(obj_));
|
||||
} else {
|
||||
FLOG_INFO("succeed to wash one tablet", KP(obj_.ptr_), K(ls_id), K(tablet_id), K(wash_score), K(phy_addr_));
|
||||
LOG_DEBUG("succeed to wash one tablet", KP(obj_.ptr_), K(ls_id), K(tablet_id), K(wash_score), K(phy_addr_));
|
||||
reset_obj();
|
||||
}
|
||||
return ret;
|
||||
|
@ -255,7 +255,7 @@ int ObTenantMetaMemMgr::push_table_into_gc_queue(ObITable *table, const ObITable
|
||||
if (OB_FAIL(free_tables_queue_.push((ObLink *)item))) {
|
||||
LOG_ERROR("fail to push back into free_tables_queue_", K(ret), KPC(item));
|
||||
} else {
|
||||
FLOG_INFO("succeed to push table into gc queue", KP(table), K(table_type), K(lbt()));
|
||||
LOG_DEBUG("succeed to push table into gc queue", KP(table), K(table_type), K(lbt()));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -434,7 +434,7 @@ int ObStorageLogReader::read_log(
|
||||
STORAGE_REDO_LOG(WARN, "Fail to close file", K(ret), K(disk_addr));
|
||||
} else {
|
||||
pos = entry.get_serialize_size();
|
||||
STORAGE_REDO_LOG(INFO, "Successfully read targeted log", K(ret), K(disk_addr), K(buf_len));
|
||||
STORAGE_REDO_LOG(TRACE, "Successfully read targeted log", K(ret), K(disk_addr), K(buf_len));
|
||||
}
|
||||
|
||||
return ret;
|
||||
|
@ -100,7 +100,7 @@ ObTablet::~ObTablet()
|
||||
|
||||
void ObTablet::reset()
|
||||
{
|
||||
FLOG_INFO("reset tablet", KP(this));
|
||||
LOG_DEBUG("reset tablet", KP(this));
|
||||
wash_score_ = INT64_MIN;
|
||||
tablet_meta_.reset();
|
||||
table_store_.reset();
|
||||
@ -759,7 +759,7 @@ int ObTablet::load_deserialize(
|
||||
tablet_meta_.max_sync_storage_schema_version_ = storage_schema_.schema_version_;
|
||||
}
|
||||
is_inited_ = true;
|
||||
FLOG_INFO("succeeded to deserialize tablet", K(ret), K(*this));
|
||||
LOG_DEBUG("succeeded to deserialize tablet", K(ret), K(*this));
|
||||
} else if (OB_UNLIKELY(!is_inited_)) {
|
||||
reset();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user