fix the standby database fails to obtain gts and enqueues but does not add reference counts
This commit is contained in:
@ -233,9 +233,7 @@ int ObGtsSource::get_gts(const MonotonicTs stc,
|
|||||||
if (EXECUTE_COUNT_PER_SEC(16)) {
|
if (EXECUTE_COUNT_PER_SEC(16)) {
|
||||||
TRANS_LOG(WARN, "get_gts_from_local_timestamp_service fail", K(leader), K_(server), K(tmp_ret));
|
TRANS_LOG(WARN, "get_gts_from_local_timestamp_service fail", K(leader), K_(server), K(tmp_ret));
|
||||||
}
|
}
|
||||||
if (OB_GTS_NOT_READY == tmp_ret) {
|
if (OB_GTS_NOT_READY != tmp_ret) {
|
||||||
ret = OB_GTS_NOT_READY;
|
|
||||||
} else {
|
|
||||||
refresh_gts_location();
|
refresh_gts_location();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user