Commit 8fe810e
docs(plan): add DRBD initial-sync-skip on replica-add
Adds Phase 8.1 follow-up item covering the upstream-LINSTOR
shortcut that we don't currently implement: pre-seeding a new
replica's DRBD metadata with the current GI from an existing
UpToDate peer so DRBD-9's GI handshake skips the full
initial-sync. Without it, every 2→3-replica transition resyncs
the entire device — hours on multi-TiB volumes.
The pieces span observer (read current-uuid from events2 device
frames), Status (typed Resource.Status.Volumes[i].CurrentGi),
controller (pick GI from peer Status, stamp on new replica's
Spec.Volumes[i].SeedFromGi), satellite (drbdmeta new-current-uuid
before drbdadm up), and a runtime e2e gate
(tests/e2e/replica-add-no-resync.sh).
Operationally critical for production rollouts: a stuck full-resync
on every replica add saturates the cluster network and burns IO
budget for hours on TiB-scale volumes.
Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Andrei Kvapil <kvapss@gmail.com>1 parent 5970875 commit 8fe810e
1 file changed
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
506 | 506 | | |
507 | 507 | | |
508 | 508 | | |
509 | | - | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
510 | 519 | | |
511 | 520 | | |
512 | 521 | | |
| |||
0 commit comments