Change 32862

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
SDP-341: harden recreate_db_checkpoint.sh and recreate_db_sync_replica.sh save-dir cleanup.
Capture the save directory by resolved real path BEFORE switch_db_files swaps the root/offline_db symlinks, then delete via that fixed path instead of re-resolving the swapped OFFLINE_DB/P4ROOT symlinks (which on shared storage can point at another node's live data). recreate_db_checkpoint.sh now passes sdp_health_check SDP-341 known-safe marker; verified end-to-end (full offline_db<->root cutover, data intact, checkpoint produced).
  • Files 2
  • Comments 0
2 edited 0 added 0 deleted
recreate_db_checkpoint.sh#16
Loading...
recreate_db_sync_replica.sh#29
Loading...
Tip: Use n and p to cycle through the changes.