add log for reuse running trans macro block for inc load

This commit is contained in:
chaser-ch
2024-07-26 04:36:13 +00:00
committed by ob-robot
parent 36ef860cf9
commit 9f37cbac3e
2 changed files with 2 additions and 2 deletions

View File

@ -984,7 +984,7 @@ ObPartitionMergeIter *ObPartitionMinorMergeHelper::alloc_merge_iter(const ObMerg
bool reuse_uncommit_row = false;
if (!transaction::ObTransID(static_param.tx_id_).is_valid() || !static_cast<const ObSSTable *>(table)->contain_uncommitted_row()) {
reuse_uncommit_row = false;
}else if (OB_FAIL(static_cast<const ObSSTable *>(table)->get_meta(meta_handle))) {
} else if (OB_FAIL(static_cast<const ObSSTable *>(table)->get_meta(meta_handle))) {
STORAGE_LOG(ERROR, "fail to get meta", K(ret), KPC(table));
} else if (meta_handle.get_sstable_meta().get_tx_id_count() > 0) {
const int64_t tx_id = meta_handle.get_sstable_meta().get_tx_ids(0);

View File

@ -408,7 +408,7 @@ int ObTabletExeMergeCtx::init_static_param_tx_id()
}
}
STORAGE_LOG(INFO, "finish tx id init", K(ret), K(static_param_tx_id));
STORAGE_LOG(INFO, "finish tx id init", K(ret), K(static_param_tx_id), K(tx_table_guard));
return ret;
}