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

Fix checkpoint cleanup failure (#688) #689

Merged
merged 1 commit into from
Jul 17, 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
4 changes: 2 additions & 2 deletions crates/arroyo-state/src/parquet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -257,14 +257,14 @@ impl ParquetBackend {
let storage_client = get_storage_provider().await?;

for epoch_to_remove in old_min_epoch..new_min_epoch {
let Some(metadata) =
let Some(operator_metadata) =
Self::load_operator_metadata(&job_id, &operator_id, epoch_to_remove).await?
else {
continue;
};

// delete any files that are not in the new min epoch
for file in metadata
for file in operator_metadata
.table_checkpoint_metadata
.iter()
// TODO: factor this out
Expand Down
Loading