Skip to content

Commit 6aedc87

Browse files
committed
chore: cleanup
1 parent f5412ba commit 6aedc87

File tree

1 file changed

+3
-16
lines changed
  • src/query/storages/fuse/src/operations/common/processors

1 file changed

+3
-16
lines changed

src/query/storages/fuse/src/operations/common/processors/sink_commit.rs

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,8 @@ where F: SnapshotGenerator + Send + 'static
401401
tbl.table_info.name, tbl.table_info.ident
402402
);
403403
// pure historical data.
404-
// errors ignored (since it can be picked up by subsequent purge actions)
404+
// errors are ignored(but logged), since it should not interrupt the main task
405+
// and could be picked up by subsequent purge actions.
405406
match tbl
406407
.navigate_for_purge(
407408
&self.ctx,
@@ -434,22 +435,8 @@ where F: SnapshotGenerator + Send + 'static
434435
);
435436
}
436437
}
437-
438-
// let snapshot_files = tbl.list_snapshot_files().await?;
439-
440-
// if let Err(e) = tbl
441-
// .do_purge(
442-
// &self.ctx,
443-
// snapshot_files,
444-
// None,
445-
// keep_last_snapshot,
446-
// dry_run,
447-
// )
448-
// .await
449-
//{
450-
//} else {
451-
//}
452438
}
439+
453440
metrics_inc_commit_mutation_success();
454441
{
455442
let elapsed_time = self.start_time.elapsed().as_millis();

0 commit comments

Comments
 (0)