[FEAT MERGE] Merge syslog user experience improvement to master

Co-authored-by: Charles0429 <xiezhenjiang@gmail.com>
Co-authored-by: tino247 <tino247@126.com>
Co-authored-by: chaser-ch <chaser.ch@antgroup.com>
This commit is contained in:
stdliu
2023-02-06 15:52:23 +08:00
committed by ob-robot
parent 1de9266dd0
commit f8c5c2647f
796 changed files with 4465 additions and 3036 deletions

View File

@ -746,7 +746,7 @@ int64_t ObUniqueCheckingDag::hash() const
int64_t hash_val = 0;
if (NULL == index_schema_) {
tmp_ret = OB_ERR_SYS;
STORAGE_LOG(ERROR, "index schema must not be NULL", K(tmp_ret));
STORAGE_LOG_RET(ERROR, tmp_ret, "index schema must not be NULL", K(tmp_ret));
} else {
hash_val = tablet_id_.hash() + index_schema_->get_table_id();
}
@ -798,7 +798,7 @@ bool ObUniqueCheckingDag::operator==(const ObIDag &other) const
const ObUniqueCheckingDag &dag = static_cast<const ObUniqueCheckingDag &>(other);
if (NULL == index_schema_ || NULL == dag.index_schema_) {
tmp_ret = OB_ERR_SYS;
STORAGE_LOG(ERROR, "index schema must not be NULL", K(tmp_ret), KP(index_schema_),
STORAGE_LOG_RET(ERROR, tmp_ret, "index schema must not be NULL", K(tmp_ret), KP(index_schema_),
KP(dag.index_schema_));
} else {
is_equal = tablet_id_ == dag.tablet_id_