starrocks
starrocks copied to clipboard
After tablet is deleted, its corresponding data directory still exists
Steps to reproduce the behavior (Required)
BE log: I0826 11:32:01.586261 892877 storage_engine.cpp:994] start to sweep trash(first sweep)
BE log: I0826 11:32:18.161396 268541 agent_task.cpp:358] local tablet migration succeeded. status: OK, signature: 47036351 (put tabletId through_add_ shutdown_tablet_unlocked to _shutdown_tablets)
FE log: 2024-08-26 11:35:07.393+08:00 INFO (ReportHandler|190) [ReportHandler.addDropReplicaTask():964] delete tablet[47036351] from backend[ 10007] because not found in meta
BE log: I0826 11:35:07.392313 273802 agent_task.cpp:155] Remove task success. type=DROP, signature=47036351, task_count_in_queue=20 (put tabletId to _shutdown_tablets via _add_shutdown_tablet_unlocked, overwriting the previous record)
BE log: I0826 11:35:07.761147 892877 storage_engine.cpp:994] start to sweep trash (second sweep)
https://forum.mirrorship.cn/t/topic/14447
Expected behavior (Required)
The data directory should be deleted
Real behavior (Required)
The data directory should not be deleted
StarRocks version (Required)
- You can get the StarRocks version by executing SQL
select current_version()