Merge pull request #8249 from jzhou77/fix-tuple

Fix rare/CheckRelocation setup failure
This commit is contained in:
Jingyu Zhou 2022-09-22 12:59:57 -07:00 committed by GitHub
commit 61b1798634
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -198,7 +198,8 @@ Future<Void> waitForLowInFlight(Database cx, T* workload) {
break;
}
} catch (Error& e) {
if (e.code() == error_code_attribute_not_found) {
if (e.code() == error_code_attribute_not_found ||
(e.code() == error_code_timed_out && !timeout.isReady())) {
// DD may not be initialized yet and attribute "DataInFlight" can be missing
wait(delay(1.0));
} else {