Change 32806

russell_jackson (Russell C. Jackson (Rusty))
Russell C. Jackson (Rusty) committed this change into //guest/russell_jackson/sdp/Server/Unix/p4/common/bin
Request Review
Download .zip
Add snapshot-based live checkpoint to live_checkpoint.sh / backup_functions.sh.

Rotate journal -> consistent snapshot of P4ROOT via 'p4d -c' -> dump checkpoint
from the snapshot (offline), shrinking the live-DB lock from the whole checkpoint
to the brief snapshot. Methods auto-detected: reflink (local CoW) -> aws/azure/gcp
volume snapshot -> fall back to in-place checkpoint(). Includes multi-agent-review
fixes (parallel-mode skip, half-written guard, method validation, cloud cleanup
subshell leak, non-fatal rotation). Config via SNAPSHOT_* vars (documented in p4_vars).
  • Files 3
  • Comments 0
3 edited 0 added 0 deleted
backup_functions.sh#96
Loading...
live_checkpoint.sh#6
Loading...
p4_vars#17
Loading...
Tip: Use n and p to cycle through the changes.