Commit 19f06d7
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: None1 parent 7bf9f6d commit 19f06d7
File tree
5 files changed
+272
-133
lines changed- pkg
- backup
- sql
5 files changed
+272
-133
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
| 138 | + | |
138 | 139 | | |
139 | 140 | | |
140 | 141 | | |
| |||
0 commit comments