[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:
@ -497,7 +497,7 @@ int ObPrimaryStandbyService::update_tenant_status_before_sw_to_standby_(
|
||||
if (trans.is_started()) {
|
||||
int temp_ret = OB_SUCCESS;
|
||||
if (OB_SUCCESS != (temp_ret = trans.end(OB_SUCC(ret)))) {
|
||||
LOG_WARN("trans end failed", "is_commit", OB_SUCC(ret), KR(temp_ret));
|
||||
LOG_WARN("trans end failed", "is_commit", OB_SUCCESS == ret, KR(temp_ret));
|
||||
ret = OB_SUCC(ret) ? temp_ret : ret;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user