recreate_offline_db.sh comment text does not consider replicas.
# This script recreates offline_db files from the latest checkpoint. If it fails, then
# check to see if the most recent checkpoint in the /p4/INSTANCE/checkpoints directory is
# bad (ie doesn't look like the right size compared to the others), and if so, delete it
# and rerun this script. If the error you are getting is that the journal replay failed,
# then the only option is to run live_checkpoint.sh script.
If it's an edge server or replica, you could simply run "p4 admin checkpoint -Z" and deal with the issue the next day.