Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: coldWater <forsaken628@gmail.com>
  • Loading branch information
forsaken628 committed Sep 27, 2024
1 parent 9896bb7 commit c755e9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/query/service/src/interpreters/hook/vacuum_hook.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ pub fn hook_disk_temp_dir(query_ctx: &Arc<QueryContext>) -> Result<()> {
if mgr.drop_disk_spill_dir(&query_ctx.get_id())? && rand::thread_rng().gen_ratio(1, 10) {
let limit = query_ctx
.get_settings()
.get_spilling_to_disk_vacuum_unknown_temp_dirs_limit();
.get_spilling_to_disk_vacuum_unknown_temp_dirs_limit()?;
let deleted = mgr.drop_disk_spill_dir_unknown(limit)?;
if !deleted.is_empty() {
warn!("Deleted residual temporary directories: {:?}", deleted)
Expand Down

0 comments on commit c755e9f

Please sign in to comment.