Fix rpc post error of clean sequence cache

This commit is contained in:
hezuojiao
2023-02-20 09:42:14 +00:00
committed by ob-robot
parent 6c8105e558
commit 61cb178902

View File

@ -159,7 +159,13 @@ int ObSequenceSqlService::clean_sequence_cache(uint64_t tenant_id, uint64_t sequ
.by(tenant_id)
.timeout(timeout)
.clean_sequence_cache(sequence_id))) {
LOG_WARN("clean sequnece cache failed", K(ret), K(sequence_id), K(server_list.at(i)));
if (is_timeout_err(ret) || is_server_down_error(ret)) {
LOG_WARN("rpc call time out, ignore the error", "server", server_list.at(i),
K(tenant_id), K(sequence_id), K(ret));
ret = OB_SUCCESS;
} else {
LOG_WARN("clean sequnece cache failed", K(ret), K(sequence_id), K(server_list.at(i)));
}
}
}
}