sort operator did not clear the disk files after spilling #55061
Labels
affects-5.1
This bug affects 5.1.x versions.
affects-5.2
This bug affects 5.2.x versions.
affects-5.3
This bug affects 5.3.x versions.
affects-5.4
This bug affects the 5.4.x(LTS) versions.
affects-6.0
affects-6.1
This bug affects the 6.1.x(LTS) versions.
affects-6.2
affects-6.3
affects-6.4
affects-6.5
This bug affects the 6.5.x(LTS) versions.
affects-6.6
affects-7.0
affects-7.1
This bug affects the 7.1.x(LTS) versions.
affects-7.2
affects-7.3
affects-7.4
affects-7.5
This bug affects the 7.5.x(LTS) versions.
affects-7.6
impact/leak
report/customer
Customers have encountered this bug.
severity/major
sig/execution
SIG execution
type/bug
The issue is confirmed as a bug.
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
set global tidb_slow_log_threshold = 1;
tiup bench tpcc prepare -D tpcc -T 10
set global tidb_slow_log_threshold = 300;
set @@tidb_mem_quota_query = 50000000;
select time,host host_ip,Query_time as exec_max_time,parse_time,compile_time,Query as sql_text,Digest as sql_id,is_internal,succ, Plan as plan_text,mem_max as mem_max,User as parse_user,DB as database_name,total_keys,request_count,process_time,process_keys from information_schema.cluster_SLOW_QUERY order by time desc, exec_max_time desc;
ls /tmp/1000_tidb/XXXX/tmp-storage
2. What did you expect to see? (Required)
All tmp spilling files should be removed
3. What did you see instead (Required)
There are some spilling files still exists
4. What is your TiDB version? (Required)
The text was updated successfully, but these errors were encountered: