Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upload state files for minute replication #349

Merged
merged 6 commits into from
Nov 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions images/replication-job/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,8 @@ function monitor_minute_replication() {
if gzip -t "$local_minute_file" 2>/dev/null; then
# Upload the file sequentially
upload_file_cloud $local_minute_file
local_state_file="${local_minute_file%.osc.gz}.state.txt"
upload_file_cloud $local_state_file
echo "$local_minute_file: SUCCESS" >>"$processed_files_log"
# Upload and update state.txt after successful upload
upload_file_cloud "$workingDirectory/state.txt"
Expand Down
Loading