Change 23022

sven_erik_knop (Sven Erik Knop)
Sven Erik Knop committed this change into /
Request Review
Download .zip
Simple fix for daily_checkpoint if the master server has its own server spec.

If the master server has a server spec matching the serverid name, the script will check if the server
is an edge server. This is done to avoid off-by-1 errors in the journal counter. The logic for the check
was broken, though, resulting in checkpoints failing with "checkpoint.xxx.gz already exist, check setup"

This fix avoids the problem. Bash script arithmatic is not as easy.
  • Files 1
  • Comments 0
1 edited 0 added 0 deleted
guest/perforce_software/sdp/dev/Server/Unix/p4/common/bin/backup_functions.sh#61
Loading...
Tip: Use n and p to cycle through the changes.