Skip to content

Commit

Permalink
Reordered pg_switch_wal(); CHECKPOINT
Browse files Browse the repository at this point in the history
Signed-off-by: Itay Grudev <[email protected]>
  • Loading branch information
itay-grudev committed Mar 28, 2024
1 parent c2c6282 commit e12ff6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/cluster/02-backup-checkpoint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ spec:
DB_URI=$(echo $DB_URI | sed "s|/\*|/|" )
END_TIME=$(( $(date +%s) + 60 ))
while [ $(date +%s) -lt $END_TIME ]; do
psql "$DB_URI" -c "CHECKPOINT;SELECT pg_switch_wal();"
psql "$DB_URI" -c "SELECT pg_switch_wal();CHECKPOINT;"
sleep 10
done

0 comments on commit e12ff6d

Please sign in to comment.