Change 27264

ashaikh (ashaikh)
ashaikh committed this change into / under Review 27262
View Review
Download .zip
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.

Refer to job SDP-585.

Thanks for the contribution!
  • Files 1
  • Comments 0
1 edited 0 added 0 deleted
guest/perforce_software/sdp/dev/Server/Unix/p4/common/bin/edge_dump.sh#11
Loading...
Tip: Use n and p to cycle through the changes.