Skip to content

Commit 19f06d7

Browse files
committed
backup: add two-phase retry mechanism
This commit teaches backup to use a two-phase retry raather than the attempt-based retry we use today. Under this new retry mechanism, backup will use an attempt based retry until all nodes have reported progress. After all nodes have done so, we switch to a short duration based policy that is reset each time progress is made. Resolves: cockroachdb#159388 Release note: None
1 parent 7bf9f6d commit 19f06d7

File tree

5 files changed

+272
-133
lines changed

5 files changed

+272
-133
lines changed

pkg/backup/BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ go_library(
135135
"//pkg/util/admission",
136136
"//pkg/util/admission/admissionpb",
137137
"//pkg/util/besteffort",
138+
"//pkg/util/buildutil",
138139
"//pkg/util/bulk",
139140
"//pkg/util/ctxgroup",
140141
"//pkg/util/envutil",

0 commit comments

Comments
 (0)