Skip to content

Commit 894656f

Browse files
authored
chore(query): add warn log if vacuum temporary file is error (#16646)
1 parent 7a6f1fb commit 894656f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/query/service/src/interpreters/hook/vacuum_hook.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,10 @@ pub fn hook_vacuum_temp_files(query_ctx: &Arc<QueryContext>) -> Result<()> {
5353
)
5454
.await;
5555

56+
if let Err(cause) = &removed_files {
57+
log::warn!("Vacuum temporary files has error: {:?}", cause);
58+
}
59+
5660
if vacuum_limit != 0 && matches!(removed_files, Ok(res) if res == vacuum_limit as usize)
5761
{
5862
// Have not been removed files

0 commit comments

Comments
 (0)