Change 31041

tom_tyler (C. Thomas Tyler)
C. Thomas Tyler committed this change into //guest/perforce_software/sdp/dev/Server/Unix/p4/common/bin under Review 31042
View Review
Download .zip
daily_checkpoint.sh on edge skips checkpoint dump if journal rotation needed.

Prior behavior was to fail with an error.  However, this situation comes up
routinely after seeding or reseeding an edge server, and is not reallly an
error condition.  With the new logic, the iteration of the checkpoint dump
is simply skipped.  The next call made after a journal rotation on the commit
will succeed.

If the checkpoint dump is skipped, calls to recreate_offline_db_files(),
remove_old_checkpoints_and_journals(), remove_old_logs() all just display
a message indicating they do nothing because the checkpoint dump was skipped.

#review-31042
  • Files 1
  • Comments 0
1 edited 0 added 0 deleted
backup_functions.sh#160
Loading...
Tip: Use n and p to cycle through the changes.