[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

@ -538,7 +538,7 @@ int ObMultiVersionGarbageCollector::refresh_()
void ObMultiVersionGarbageCollector::decide_gc_status_(const ObMultiVersionGCStatus gc_status)
{
if (gc_status & ObMultiVersionGCStatus::DISABLED_GC_STATUS) {
MVCC_LOG(WARN, "gc status is disabled", KPC(this),
MVCC_LOG_RET(WARN, OB_ERR_UNEXPECTED, "gc status is disabled", KPC(this),
K(global_reserved_snapshot_), K(gc_status));
gc_is_disabled_ = true;
} else if (gc_is_disabled_) {
@ -593,12 +593,12 @@ share::SCN ObMultiVersionGarbageCollector::get_reserved_snapshot_for_active_txn(
return share::SCN::max_scn();
} else if (refresh_error_too_long_) {
if (REACH_TENANT_TIME_INTERVAL(1_s)) {
MVCC_LOG(WARN, "get reserved snapshot for active txn with long not updated", KPC(this));
MVCC_LOG_RET(WARN, OB_ERR_UNEXPECTED, "get reserved snapshot for active txn with long not updated", KPC(this));
}
return share::SCN::max_scn();
} else if (gc_is_disabled_) {
if (REACH_TENANT_TIME_INTERVAL(1_s)) {
MVCC_LOG(WARN, "get reserved snapshot for active txn with gc is disabled", KPC(this));
MVCC_LOG_RET(WARN, OB_ERR_UNEXPECTED, "get reserved snapshot for active txn with gc is disabled", KPC(this));
}
return share::SCN::max_scn();
} else {