[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

@ -63,7 +63,7 @@ public:
if (bit >= 100000) {
ob_abort();
} else if (1 == set_[bit]) {
TRANS_LOG(ERROR, "set in unexpected", K(bit));
TRANS_LOG_RET(ERROR, OB_ERR_UNEXPECTED, "set in unexpected", K(bit));
ob_abort();
} else {
set_[bit] = 1;
@ -77,11 +77,11 @@ public:
for (int i = 0; i < 100000; i++) {
if (set_[i] != other.set_[i]) {
if (set_[i] == 1) {
TRANS_LOG(ERROR, "different bit set", K(i),
TRANS_LOG_RET(ERROR, OB_ERR_UNEXPECTED, "different bit set", K(i),
"set_[i]", "1",
"other.set_[i]", "0");
} else {
TRANS_LOG(ERROR, "different bit set", K(i),
TRANS_LOG_RET(ERROR, OB_ERR_UNEXPECTED, "different bit set", K(i),
"set_[i]", "0",
"other.set_[i]", "1");
}