SDP-574 | daily_checkpoint.sh hangs if journalPrefix is wrong. Detail: The truncate_jou...rnal() in backup_functions.sh hangs if journalPrefix is misconfigured. There is a logic block in truncate_journal that is intended to wait for a 'p4 -p $P4MASTERPORT admin journal' to fully complete processing before the function returns. It does so by waiting for the numbered journal file to appear in the checkpoints folder. This works as intended when the journalPrefix is correct. However, if the journalPrefix is wrong, the wait loop still occurs, causing a hang waiting forever for a journal file that is never going to appear. « | |
Add Job |