Commit 067d7ce
committed
[skip ci] Optional delay in
`make restart-cluster` allows simple rolling restart/upgrade testing.
`make restart-cluster RESTART_DELAY=N` adds an option to force a delay
from when a node goes down, till it start up again. This is useful
in some tests scenarios, such as:
1. forcing the cluster to work longer in a mixed-version configuration
2. forcing the stopped member to fall behind in terms of replication
to trigger a more demanding catch-upmake restart-cluster
1 parent d048227 commit 067d7ce
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
36 | 38 | | |
37 | 39 | | |
38 | 40 | | |
| |||
415 | 417 | | |
416 | 418 | | |
417 | 419 | | |
| 420 | + | |
| 421 | + | |
418 | 422 | | |
419 | 423 | | |
420 | 424 | | |
| |||
0 commit comments