SDP-585

ashaikh (ashaikh)
ashaikh created this job , modified by C. Thomas Tyler
Inprogress
Improve error message for edge_dump.sh when seed file already exists

When running the edge_dump.sh script, you would get a generic error message if a seed file already existed making you refer to logs to figure out what happened.

Current error message:
$ /p4/common/bin/edge_dump.sh 1 edge.1
Processing. This may take a while depending on checkpoint duration.
Log file is: /p4/1/logs/edge_dump.20210112-0449.log
Edge seed checkpoint dump failed!

Improved error message:
$ /p4/common/bin/edge_dump.sh 1 edge.1
Processing. This may take a while depending on checkpoint duration.
Log file is: /p4/1/logs/edge_dump.20210112-0456.log
/p4/1/checkpoints/p4_1.edge.1.seed.6.gz already exists.

Review: https://swarm.workshop.perforce.com/reviews/27262/
  • Details
  • Comments -
Status
Inprogress
Project
perforce-software-sdp
Severity
C
Reported By
ashaikh
Reported Date
Modified By
C. Thomas Tyler
Modified Date
Owned By
ashaikh
Component
core-unix.
Type
Feature