Skip to content

Commit 54d1010

Browse files
committed
chore: more lsn checkpoint handling
1 parent 93e037b commit 54d1010

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docker/all-in-one/entrypoint.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,11 @@ function create_lsn_checkpoint_file {
6363
}
6464

6565
function push_lsn_checkpoint_file {
66+
if [ "${PLATFORM_DEPLOYMENT:-}" != "true" ]; then
67+
echo "Skipping push of LSN checkpoint file"
68+
return
69+
fi
70+
6671
LSN_CHECKPOINT=$(cat "${LSN_CHECKPOINT_FILE_PATH}")
6772
PREVIOUS_LSN_CHECKPOINT=$(cat "${LSN_CHECKPOINT_FILE_PATH}.previous")
6873

0 commit comments

Comments
 (0)