[CP] fix standby tenant retrun weak read feedback
This commit is contained in:
parent
3e40d869ec
commit
d96600e36a
@ -2114,7 +2114,9 @@ int ObLogPlan::select_replicas(ObExecContext &exec_ctx,
|
||||
}
|
||||
}
|
||||
|
||||
if (OB_SUCC(ret) && proxy_stat != 0) {
|
||||
if (!MTL_TENANT_ROLE_CACHE_IS_PRIMARY_OR_INVALID()) {
|
||||
// standby and restore tenant not feedback
|
||||
} else if (OB_SUCC(ret) && proxy_stat != 0) {
|
||||
ObObj val;
|
||||
val.set_int(proxy_stat);
|
||||
if (OB_FAIL(session->update_sys_variable(SYS_VAR__OB_PROXY_WEAKREAD_FEEDBACK, val))) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user