We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 900bbc3 + 8af75ab commit 851197aCopy full SHA for 851197a
src/query/storages/fuse/src/operations/gc.rs
@@ -270,6 +270,7 @@ impl FuseTable {
270
delete_locations_to_be_pruged.insert(loc.to_string());
271
}
272
status_delete_to_be_purged_count += delete_locations_to_be_pruged.len();
273
+
274
// todo(zhyass): add cache
275
self.try_purge_location_files_and_cache::<DeleteMarkMeta>(
276
ctx.clone(),
@@ -484,13 +485,9 @@ impl FuseTable {
484
485
.unwrap_or_default()
486
.0,
487
);
- deletes.insert(
488
- block_meta
489
- .delete_mask_location
490
- .clone()
491
- .unwrap_or_default()
492
- .0,
493
- );
+ if let Some(mask_location) = &block_meta.delete_mask_location {
+ deletes.insert(mask_location.0.clone());
+ }
494
495
496
0 commit comments