SDP-851

perforce (Perforce maintenance)
Perforce maintenance created this job , modified by C. Thomas Tyler
Closed
load_checkpoint.sh: Avoid moving P4JOURNAL aside if replayed.

If the live P4JOURNAL file is listed as a file to replay,
avoid moving it aside.
29164load_checkpoint.sh v2.7.0:

* If live P4JOURNAL is specified to replay, don't move it.
* Added '-k' option to keep rather than delete db.* files.

Updated test case to exercise new new options.

With these changes, this script, originally focused on
loading checkpoints on replicas/edge servers, is now
also suited to support recovery.

See also: SDP-582, for a separate script focused
on recovery scenarios, which can call this script as needed.

#review @robert_cowham
29193load_checkpoint.sh v2.7.0:

* If live P4JOURNAL is specified to replay, don't move it.
* Added '-k' option to keep rather than delete db.* files.

Updated test case to exercise new new options.

With these changes, this script, originally focused on
loading checkpoints on replicas/edge servers, is now
also suited to support recovery.

See also: SDP-582, for a separate script focused
on recovery scenarios, which can call this script as needed.

#review-29164 @robert_cowham
  • Details
  • Comments -
Status
Closed
Project
perforce-software-sdp
Severity
C
Reported By
Perforce maintenance
Reported Date
Modified By
C. Thomas Tyler
Modified Date
Owned By
perforce
Component
core-unix
Type
Bug