add location error code where retry when create tablet register

This commit is contained in:
obdev
2023-05-15 07:41:28 +00:00
committed by ob-robot
parent b1ef77c953
commit 579634a692

View File

@ -356,7 +356,7 @@ int ObTabletCreator::execute()
bool ObTabletCreator::need_retry(int ret) bool ObTabletCreator::need_retry(int ret)
{ {
return OB_LS_LOCATION_LEADER_NOT_EXIST == ret || OB_NOT_MASTER == ret; return is_location_service_renew_error(ret) || OB_NOT_MASTER == ret;
} }
} // rootserver } // rootserver