[CP] fix autoinc not refresh location cache for some error code

This commit is contained in:
Hongqin-Li
2023-10-20 12:43:56 +00:00
committed by ob-robot
parent 1d37a07e69
commit 5f5a283570
2 changed files with 13 additions and 8 deletions

View File

@ -80,7 +80,7 @@ private:
}
bool is_retryable(int ret)
{
return OB_NOT_MASTER == ret || OB_NOT_INIT == ret || OB_TIMEOUT == ret || OB_EAGAIN == ret || OB_LS_NOT_EXIST == ret || OB_TABLET_NOT_EXIST == ret;
return OB_NOT_MASTER == ret || OB_NOT_INIT == ret || OB_TIMEOUT == ret || OB_EAGAIN == ret || OB_LS_NOT_EXIST == ret || OB_TABLET_NOT_EXIST == ret || OB_TENANT_NOT_IN_SERVER == ret;
}
private:
static const int64_t PREFETCH_THRESHOLD = 4;