TiFlash wn store size does not decrease after a keyspace is removed
Open
Nobody has claimed this yet.
component/storage
nextgen
type/bug
- Dominant language
- C++
- Stars
- 1k
- Forks
- 423
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 24
Description
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
$ ./pd-ctl -u https://127.0.0.1:2379 --key /var/lib/pd-tls/tls.key --cert /var/lib/pd-tls/tls.crt --cacert /var/lib/pd-tls/ca.crt -i
» keyspace list
{
"keyspaces": [
{
"id": 1,
"name": "10697363329444455293",
"state": "ARCHIVED",
"created_at": 1758594969,
"state_changed_at": 1758636669,
"config": {
"gc_management_type": "keyspace_level",
"tso_keyspace_group_id": "0",
"user_kind": "basic"
}
},
...
}
[2025/09/23 16:01:18.845 +00:00] [INFO] [TiDBSchemaSyncer.cpp:154] ["End sync schema, version has been updated to -1"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.845 +00:00] [INFO] [SchemaBuilder.cpp:1764] ["Drop all schemas end"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.845 +00:00] [INFO] [SchemaBuilder.cpp:1758] ["Database ks_1_db_5 dropped during drop all schemas"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.845 +00:00] [INFO] [SchemaBuilder.cpp:1043] ["Tombstone database end, db_name=ks_1_db_5 tombstone=461017783681679367"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.841 +00:00] [INFO] [SchemaBuilder.cpp:1022] ["Tombstone database begin, db_name=ks_1_db_5"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.841 +00:00] [INFO] [SchemaBuilder.cpp:1758] ["Database ks_1_db_485 dropped during drop all schemas"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.841 +00:00] [INFO] [SchemaBuilder.cpp:1043] ["Tombstone database end, db_name=ks_1_db_485 tombstone=461017783681679366"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.836 +00:00] [INFO] [SchemaBuilder.cpp:1022] ["Tombstone database begin, db_name=ks_1_db_485"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.836 +00:00] [INFO] [SchemaBuilder.cpp:1758] ["Database ks_1_db_478 dropped during drop all schemas"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.836 +00:00] [INFO] [SchemaBuilder.cpp:1043] ["Tombstone database end, db_name=ks_1_db_478 tombstone=461017783681679365"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.832 +00:00] [INFO] [SchemaBuilder.cpp:1022] ["Tombstone database begin, db_name=ks_1_db_478"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.832 +00:00] [INFO] [SchemaBuilder.cpp:1758] ["Database ks_1_db_470 dropped during drop all schemas"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.832 +00:00] [INFO] [SchemaBuilder.cpp:1043] ["Tombstone database end, db_name=ks_1_db_470 tombstone=461017783681679364"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.828 +00:00] [INFO] [SchemaBuilder.cpp:1022] ["Tombstone database begin, db_name=ks_1_db_470"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.828 +00:00] [INFO] [SchemaBuilder.cpp:1758] ["Database ks_1_db_281474976710655 dropped during drop all schemas"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.828 +00:00] [INFO] [SchemaBuilder.cpp:1043] ["Tombstone database end, db_name=ks_1_db_281474976710655 tombstone=461017783681679363"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.824 +00:00] [INFO] [SchemaBuilder.cpp:1022] ["Tombstone database begin, db_name=ks_1_db_281474976710655"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.824 +00:00] [INFO] [SchemaBuilder.cpp:1758] ["Database ks_1_db_281474976710595 dropped during drop all schemas"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.824 +00:00] [INFO] [SchemaBuilder.cpp:1043] ["Tombstone database end, db_name=ks_1_db_281474976710595 tombstone=461017783681679362"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.820 +00:00] [INFO] [SchemaBuilder.cpp:1022] ["Tombstone database begin, db_name=ks_1_db_281474976710595"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.820 +00:00] [INFO] [SchemaBuilder.cpp:1745] ["Table ks_1_db_281474976710655.ks_1_tidb_ddl_job dropped during drop all schemas, table_id=281474976710654"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.820 +00:00] [INFO] [SchemaBuilder.cpp:1275] ["Tombstone table ks_1_db_281474976710655.ks_1_tidb_ddl_job end, table_id=281474976710654 tombstone=461017783681679361 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.816 +00:00] [INFO] [SchemaBuilder.cpp:1250] ["Tombstone table ks_1_db_281474976710655.ks_1_tidb_ddl_job begin, table_id=281474976710654 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.816 +00:00] [INFO] [SchemaBuilder.cpp:1745] ["Table ks_1_db_281474976710655.ks_1_tidb_mdl_info dropped during drop all schemas, table_id=281474976710651"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.816 +00:00] [INFO] [SchemaBuilder.cpp:1275] ["Tombstone table ks_1_db_281474976710655.ks_1_tidb_mdl_info end, table_id=281474976710651 tombstone=461017783668572172 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.812 +00:00] [INFO] [SchemaBuilder.cpp:1250] ["Tombstone table ks_1_db_281474976710655.ks_1_tidb_mdl_info begin, table_id=281474976710651 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.812 +00:00] [INFO] [SchemaBuilder.cpp:1745] ["Table ks_1_db_281474976710655.ks_1_audit_log_filters dropped during drop all schemas, table_id=7"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.812 +00:00] [INFO] [SchemaBuilder.cpp:1275] ["Tombstone table ks_1_db_281474976710655.ks_1_audit_log_filters end, table_id=7 tombstone=461017783668572171 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.807 +00:00] [INFO] [SchemaBuilder.cpp:1250] ["Tombstone table ks_1_db_281474976710655.ks_1_audit_log_filters begin, table_id=7 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.807 +00:00] [INFO] [SchemaBuilder.cpp:1745] ["Table ks_1_db_281474976710655.ks_1_tidb_ddl_notifier dropped during drop all schemas, table_id=281474976710648"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.807 +00:00] [INFO] [SchemaBuilder.cpp:1275] ["Tombstone table ks_1_db_281474976710655.ks_1_tidb_ddl_notifier end, table_id=281474976710648 tombstone=461017783668572170 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.804 +00:00] [INFO] [SchemaBuilder.cpp:1250] ["Tombstone table ks_1_db_281474976710655.ks_1_tidb_ddl_notifier begin, table_id=281474976710648 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.804 +00:00] [INFO] [SchemaBuilder.cpp:1745] ["Table ks_1_db_281474976710655.ks_1_user dropped during drop all schemas, table_id=281474976710647"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.803 +00:00] [INFO] [SchemaBuilder.cpp:1275] ["Tombstone table ks_1_db_281474976710655.ks_1_user end, table_id=281474976710647 tombstone=461017783668572169 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.798 +00:00] [INFO] [SchemaBuilder.cpp:1250] ["Tombstone table ks_1_db_281474976710655.ks_1_user begin, table_id=281474976710647 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.798 +00:00] [INFO] [SchemaBuilder.cpp:1745] ["Table ks_1_db_281474976710655.ks_1_password_history dropped during drop all schemas, table_id=281474976710646"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.798 +00:00] [INFO] [SchemaBuilder.cpp:1275] ["Tombstone table ks_1_db_281474976710655.ks_1_password_history end, table_id=281474976710646 tombstone=461017783668572168 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.794 +00:00] [INFO] [SchemaBuilder.cpp:1250] ["Tombstone table ks_1_db_281474976710655.ks_1_password_history begin, table_id=281474976710646 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.794 +00:00] [INFO] [SchemaBuilder.cpp:1745] ["Table ks_1_db_281474976710655.ks_1_global_priv dropped during drop all schemas, table_id=281474976710645"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.794 +00:00] [INFO] [SchemaBuilder.cpp:1275] ["Tombstone table ks_1_db_281474976710655.ks_1_global_priv end, table_id=281474976710645 tombstone=461017783668572167 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.790 +00:00] [INFO] [SchemaBuilder.cpp:1250] ["Tombstone table ks_1_db_281474976710655.ks_1_global_priv begin, table_id=281474976710645 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.790 +00:00] [INFO] [SchemaBuilder.cpp:1745] ["Table ks_1_db_281474976710655.ks_1_db dropped during drop all schemas, table_id=281474976710644"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.790 +00:00] [INFO] [SchemaBuilder.cpp:1275] ["Tombstone table ks_1_db_281474976710655.ks_1_db end, table_id=281474976710644 tombstone=461017783668572166 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.785 +00:00] [INFO] [SchemaBuilder.cpp:1250] ["Tombstone table ks_1_db_281474976710655.ks_1_db begin, table_id=281474976710644 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.785 +00:00] [INFO] [SchemaBuilder.cpp:1745] ["Table ks_1_db_281474976710655.ks_1_stats_histograms dropped during drop all schemas, table_id=281474976710637"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.785 +00:00] [INFO] [SchemaBuilder.cpp:1275] ["Tombstone table ks_1_db_281474976710655.ks_1_stats_histograms end, table_id=281474976710637 tombstone=461017783668572165 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.781 +00:00] [INFO] [SchemaBuilder.cpp:1250] ["Tombstone table ks_1_db_281474976710655.ks_1_stats_histograms begin, table_id=281474976710637 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.781 +00:00] [INFO] [SchemaBuilder.cpp:1745] ["Table ks_1_db_281474976710655.ks_1_stats_buckets dropped during drop all schemas, table_id=281474976710636"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.781 +00:00] [INFO] [SchemaBuilder.cpp:1275] ["Tombstone table ks_1_db_281474976710655.ks_1_stats_buckets end, table_id=281474976710636 tombstone=461017783668572164 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.777 +00:00] [INFO] [SchemaBuilder.cpp:1250] ["Tombstone table ks_1_db_281474976710655.ks_1_stats_buckets begin, table_id=281474976710636 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.777 +00:00] [INFO] [SchemaBuilder.cpp:1745] ["Table ks_1_db_281474976710655.ks_1_help_topic dropped during drop all schemas, table_id=281474976710639"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.777 +00:00] [INFO] [SchemaBuilder.cpp:1275] ["Tombstone table ks_1_db_281474976710655.ks_1_help_topic end, table_id=281474976710639 tombstone=461017783668572163 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.773 +00:00] [INFO] [SchemaBuilder.cpp:1250] ["Tombstone table ks_1_db_281474976710655.ks_1_help_topic begin, table_id=281474976710639 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.773 +00:00] [INFO] [SchemaBuilder.cpp:1745] ["Table ks_1_db_281474976710655.ks_1_gc_delete_range dropped during drop all schemas, table_id=281474976710635"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.773 +00:00] [INFO] [SchemaBuilder.cpp:1275] ["Tombstone table ks_1_db_281474976710655.ks_1_gc_delete_range end, table_id=281474976710635 tombstone=461017783668572162 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.769 +00:00] [INFO] [SchemaBuilder.cpp:1250] ["Tombstone table ks_1_db_281474976710655.ks_1_gc_delete_range begin, table_id=281474976710635 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.769 +00:00] [INFO] [SchemaBuilder.cpp:1745] ["Table ks_1_db_281474976710655.ks_1_gc_delete_range_done dropped during drop all schemas, table_id=281474976710634"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.769 +00:00] [INFO] [SchemaBuilder.cpp:1275] ["Tombstone table ks_1_db_281474976710655.ks_1_gc_delete_range_done end, table_id=281474976710634 tombstone=461017783668572161 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.765 +00:00] [INFO] [SchemaBuilder.cpp:1250] ["Tombstone table ks_1_db_281474976710655.ks_1_gc_delete_range_done begin, table_id=281474976710634 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.765 +00:00] [INFO] [SchemaBuilder.cpp:1745] ["Table ks_1_db_281474976710655.ks_1_stats_feedback dropped during drop all schemas, table_id=281474976710633"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.765 +00:00] [INFO] [SchemaBuilder.cpp:1275] ["Tombstone table ks_1_db_281474976710655.ks_1_stats_feedback end, table_id=281474976710633 tombstone=461017783655464972 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.761 +00:00] [INFO] [SchemaBuilder.cpp:1250] ["Tombstone table ks_1_db_281474976710655.ks_1_stats_feedback begin, table_id=281474976710633 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.761 +00:00] [INFO] [SchemaBuilder.cpp:1745] ["Table ks_1_db_281474976710655.ks_1_columns_priv dropped during drop all schemas, table_id=281474976710642"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.761 +00:00] [INFO] [SchemaBuilder.cpp:1275] ["Tombstone table ks_1_db_281474976710655.ks_1_columns_priv end, table_id=281474976710642 tombstone=461017783655464971 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.757 +00:00] [INFO] [SchemaBuilder.cpp:1250] ["Tombstone table ks_1_db_281474976710655.ks_1_columns_priv begin, table_id=281474976710642 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.757 +00:00] [INFO] [SchemaBuilder.cpp:1745] ["Table ks_1_db_281474976710655.ks_1_bind_info dropped during drop all schemas, table_id=281474976710630"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.757 +00:00] [INFO] [SchemaBuilder.cpp:1275] ["Tombstone table ks_1_db_281474976710655.ks_1_bind_info end, table_id=281474976710630 tombstone=461017783655464970 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.753 +00:00] [INFO] [SchemaBuilder.cpp:1250] ["Tombstone table ks_1_db_281474976710655.ks_1_bind_info begin, table_id=281474976710630 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.753 +00:00] [INFO] [SchemaBuilder.cpp:1745] ["Table ks_1_db_281474976710655.ks_1_tidb dropped during drop all schemas, table_id=281474976710640"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.753 +00:00] [INFO] [SchemaBuilder.cpp:1275] ["Tombstone table ks_1_db_281474976710655.ks_1_tidb end, table_id=281474976710640 tombstone=461017783655464969 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.749 +00:00] [INFO] [SchemaBuilder.cpp:1250] ["Tombstone table ks_1_db_281474976710655.ks_1_tidb begin, table_id=281474976710640 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.749 +00:00] [INFO] [SchemaBuilder.cpp:1745] ["Table ks_1_db_478.ks_1_ks_1_orders_2 dropped during drop all schemas, table_id=483"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.749 +00:00] [INFO] [SchemaBuilder.cpp:1275] ["Tombstone table ks_1_db_478.ks_1_ks_1_orders_2 end, table_id=483 tombstone=461017783655464968 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.744 +00:00] [INFO] [SchemaBuilder.cpp:1250] ["Tombstone table ks_1_db_478.ks_1_ks_1_orders_2 begin, table_id=483 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.744 +00:00] [INFO] [SchemaBuilder.cpp:1745] ["Table ks_1_db_281474976710655.ks_1_stats_extended dropped during drop all schemas, table_id=281474976710626"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.744 +00:00] [INFO] [SchemaBuilder.cpp:1275] ["Tombstone table ks_1_db_281474976710655.ks_1_stats_extended end, table_id=281474976710626 tombstone=461017783655464967 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.740 +00:00] [INFO] [SchemaBuilder.cpp:1250] ["Tombstone table ks_1_db_281474976710655.ks_1_stats_extended begin, table_id=281474976710626 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.740 +00:00] [INFO] [SchemaBuilder.cpp:1745] ["Table ks_1_db_281474976710655.ks_1_column_stats_usage dropped during drop all schemas, table_id=281474976710622"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.740 +00:00] [INFO] [SchemaBuilder.cpp:1275] ["Tombstone table ks_1_db_281474976710655.ks_1_column_stats_usage end, table_id=281474976710622 tombstone=461017783655464966 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.736 +00:00] [INFO] [SchemaBuilder.cpp:1250] ["Tombstone table ks_1_db_281474976710655.ks_1_column_stats_usage begin, table_id=281474976710622 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.736 +00:00] [INFO] [SchemaBuilder.cpp:1745] ["Table ks_1_db_281474976710655.ks_1_table_cache_meta dropped during drop all schemas, table_id=281474976710621"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.736 +00:00] [INFO] [SchemaBuilder.cpp:1275] ["Tombstone table ks_1_db_281474976710655.ks_1_table_cache_meta end, table_id=281474976710621 tombstone=461017783655464965 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.732 +00:00] [INFO] [SchemaBuilder.cpp:1250] ["Tombstone table ks_1_db_281474976710655.ks_1_table_cache_meta begin, table_id=281474976710621 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.732 +00:00] [INFO] [SchemaBuilder.cpp:1745] ["Table ks_1_db_281474976710655.ks_1_global_variables dropped during drop all schemas, table_id=281474976710641"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.732 +00:00] [INFO] [SchemaBuilder.cpp:1275] ["Tombstone table ks_1_db_281474976710655.ks_1_global_variables end, table_id=281474976710641 tombstone=461017783655464964 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.728 +00:00] [INFO] [SchemaBuilder.cpp:1250] ["Tombstone table ks_1_db_281474976710655.ks_1_global_variables begin, table_id=281474976710641 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.728 +00:00] [INFO] [SchemaBuilder.cpp:1745] ["Table ks_1_db_281474976710655.ks_1_role_edges dropped during drop all schemas, table_id=281474976710632"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.728 +00:00] [INFO] [SchemaBuilder.cpp:1275] ["Tombstone table ks_1_db_281474976710655.ks_1_role_edges end, table_id=281474976710632 tombstone=461017783655464963 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.724 +00:00] [INFO] [SchemaBuilder.cpp:1250] ["Tombstone table ks_1_db_281474976710655.ks_1_role_edges begin, table_id=281474976710632 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.724 +00:00] [INFO] [SchemaBuilder.cpp:1745] ["Table ks_1_db_281474976710655.ks_1_audit_log_filter_rules dropped during drop all schemas, table_id=9"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.724 +00:00] [INFO] [SchemaBuilder.cpp:1275] ["Tombstone table ks_1_db_281474976710655.ks_1_audit_log_filter_rules end, table_id=9 tombstone=461017783655464962 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.720 +00:00] [INFO] [SchemaBuilder.cpp:1250] ["Tombstone table ks_1_db_281474976710655.ks_1_audit_log_filter_rules begin, table_id=9 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.720 +00:00] [INFO] [SchemaBuilder.cpp:1745] ["Table ks_1_db_281474976710655.ks_1_dist_framework_meta dropped during drop all schemas, table_id=281474976710602"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.720 +00:00] [INFO] [SchemaBuilder.cpp:1275] ["Tombstone table ks_1_db_281474976710655.ks_1_dist_framework_meta end, table_id=281474976710602 tombstone=461017783655464961 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.716 +00:00] [INFO] [SchemaBuilder.cpp:1250] ["Tombstone table ks_1_db_281474976710655.ks_1_dist_framework_meta begin, table_id=281474976710602 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.716 +00:00] [INFO] [SchemaBuilder.cpp:1745] ["Table ks_1_db_281474976710655.ks_1_stats_history dropped during drop all schemas, table_id=281474976710619"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.716 +00:00] [INFO] [SchemaBuilder.cpp:1275] ["Tombstone table ks_1_db_281474976710655.ks_1_stats_history end, table_id=281474976710619 tombstone=461017783642357772 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.712 +00:00] [INFO] [SchemaBuilder.cpp:1250] ["Tombstone table ks_1_db_281474976710655.ks_1_stats_history begin, table_id=281474976710619 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.712 +00:00] [INFO] [SchemaBuilder.cpp:1745] ["Table ks_1_db_281474976710655.ks_1_tidb_global_task_history dropped during drop all schemas, table_id=281474976710608"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.712 +00:00] [INFO] [SchemaBuilder.cpp:1275] ["Tombstone table ks_1_db_281474976710655.ks_1_tidb_global_task_history end, table_id=281474976710608 tombstone=461017783642357771 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.708 +00:00] [INFO] [SchemaBuilder.cpp:1250] ["Tombstone table ks_1_db_281474976710655.ks_1_tidb_global_task_history begin, table_id=281474976710608 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.708 +00:00] [INFO] [SchemaBuilder.cpp:1745] ["Table ks_1_db_281474976710655.ks_1_analyze_jobs dropped during drop all schemas, table_id=281474976710617"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.708 +00:00] [INFO] [SchemaBuilder.cpp:1275] ["Tombstone table ks_1_db_281474976710655.ks_1_analyze_jobs end, table_id=281474976710617 tombstone=461017783642357770 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.703 +00:00] [INFO] [SchemaBuilder.cpp:1250] ["Tombstone table ks_1_db_281474976710655.ks_1_analyze_jobs begin, table_id=281474976710617 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.703 +00:00] [INFO] [SchemaBuilder.cpp:1745] ["Table ks_1_db_281474976710655.ks_1_advisory_locks dropped during drop all schemas, table_id=281474976710616"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.703 +00:00] [INFO] [SchemaBuilder.cpp:1275] ["Tombstone table ks_1_db_281474976710655.ks_1_advisory_locks end, table_id=281474976710616 tombstone=461017783642357769 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.699 +00:00] [INFO] [SchemaBuilder.cpp:1250] ["Tombstone table ks_1_db_281474976710655.ks_1_advisory_locks begin, table_id=281474976710616 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.699 +00:00] [INFO] [SchemaBuilder.cpp:1745] ["Table ks_1_db_281474976710655.ks_1_plan_replayer_status dropped during drop all schemas, table_id=281474976710615"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.699 +00:00] [INFO] [SchemaBuilder.cpp:1275] ["Tombstone table ks_1_db_281474976710655.ks_1_plan_replayer_status end, table_id=281474976710615 tombstone=461017783642357768 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.695 +00:00] [INFO] [SchemaBuilder.cpp:1250] ["Tombstone table ks_1_db_281474976710655.ks_1_plan_replayer_status begin, table_id=281474976710615 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.695 +00:00] [INFO] [SchemaBuilder.cpp:1745] ["Table ks_1_db_281474976710655.ks_1_tidb_ttl_job_history dropped during drop all schemas, table_id=281474976710610"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.695 +00:00] [INFO] [SchemaBuilder.cpp:1275] ["Tombstone table ks_1_db_281474976710655.ks_1_tidb_ttl_job_history end, table_id=281474976710610 tombstone=461017783642357767 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.691 +00:00] [INFO] [SchemaBuilder.cpp:1250] ["Tombstone table ks_1_db_281474976710655.ks_1_tidb_ttl_job_history begin, table_id=281474976710610 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.691 +00:00] [INFO] [SchemaBuilder.cpp:1745] ["Table ks_1_db_281474976710655.ks_1_global_grants dropped during drop all schemas, table_id=281474976710624"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.691 +00:00] [INFO] [SchemaBuilder.cpp:1275] ["Tombstone table ks_1_db_281474976710655.ks_1_global_grants end, table_id=281474976710624 tombstone=461017783642357766 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.687 +00:00] [INFO] [SchemaBuilder.cpp:1250] ["Tombstone table ks_1_db_281474976710655.ks_1_global_grants begin, table_id=281474976710624 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.687 +00:00] [INFO] [SchemaBuilder.cpp:1745] ["Table ks_1_db_281474976710655.ks_1_tidb_ddl_history dropped during drop all schemas, table_id=281474976710652"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.687 +00:00] [INFO] [SchemaBuilder.cpp:1275] ["Tombstone table ks_1_db_281474976710655.ks_1_tidb_ddl_history end, table_id=281474976710652 tombstone=461017783642357765 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.683 +00:00] [INFO] [SchemaBuilder.cpp:1250] ["Tombstone table ks_1_db_281474976710655.ks_1_tidb_ddl_history begin, table_id=281474976710652 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.683 +00:00] [INFO] [SchemaBuilder.cpp:1745] ["Table ks_1_db_281474976710655.ks_1_tidb_global_task dropped during drop all schemas, table_id=281474976710609"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.683 +00:00] [INFO] [SchemaBuilder.cpp:1275] ["Tombstone table ks_1_db_281474976710655.ks_1_tidb_global_task end, table_id=281474976710609 tombstone=461017783642357764 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.679 +00:00] [INFO] [SchemaBuilder.cpp:1250] ["Tombstone table ks_1_db_281474976710655.ks_1_tidb_global_task begin, table_id=281474976710609 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.679 +00:00] [INFO] [SchemaBuilder.cpp:1745] ["Table ks_1_db_281474976710655.ks_1_tidb_ttl_task dropped during drop all schemas, table_id=281474976710611"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.679 +00:00] [INFO] [SchemaBuilder.cpp:1275] ["Tombstone table ks_1_db_281474976710655.ks_1_tidb_ttl_task end, table_id=281474976710611 tombstone=461017783642357763 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.675 +00:00] [INFO] [SchemaBuilder.cpp:1250] ["Tombstone table ks_1_db_281474976710655.ks_1_tidb_ttl_task begin, table_id=281474976710611 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.675 +00:00] [INFO] [SchemaBuilder.cpp:1745] ["Table ks_1_db_281474976710655.ks_1_tidb_import_jobs dropped during drop all schemas, table_id=281474976710607"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.675 +00:00] [INFO] [SchemaBuilder.cpp:1275] ["Tombstone table ks_1_db_281474976710655.ks_1_tidb_import_jobs end, table_id=281474976710607 tombstone=461017783642357762 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.671 +00:00] [INFO] [SchemaBuilder.cpp:1250] ["Tombstone table ks_1_db_281474976710655.ks_1_tidb_import_jobs begin, table_id=281474976710607 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.670 +00:00] [INFO] [SchemaBuilder.cpp:1745] ["Table ks_1_db_281474976710655.ks_1_tidb_timers dropped during drop all schemas, table_id=281474976710604"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.670 +00:00] [INFO] [SchemaBuilder.cpp:1275] ["Tombstone table ks_1_db_281474976710655.ks_1_tidb_timers end, table_id=281474976710604 tombstone=461017783642357761 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.666 +00:00] [INFO] [SchemaBuilder.cpp:1250] ["Tombstone table ks_1_db_281474976710655.ks_1_tidb_timers begin, table_id=281474976710604 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.666 +00:00] [INFO] [SchemaBuilder.cpp:1745] ["Table ks_1_db_281474976710655.ks_1_tidb_runaway_watch dropped during drop all schemas, table_id=281474976710606"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.666 +00:00] [INFO] [SchemaBuilder.cpp:1275] ["Tombstone table ks_1_db_281474976710655.ks_1_tidb_runaway_watch end, table_id=281474976710606 tombstone=461017783629250572 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.662 +00:00] [INFO] [SchemaBuilder.cpp:1250] ["Tombstone table ks_1_db_281474976710655.ks_1_tidb_runaway_watch begin, table_id=281474976710606 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.662 +00:00] [INFO] [SchemaBuilder.cpp:1745] ["Table ks_1_db_281474976710655.ks_1_tables_priv dropped during drop all schemas, table_id=281474976710643"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.662 +00:00] [INFO] [SchemaBuilder.cpp:1275] ["Tombstone table ks_1_db_281474976710655.ks_1_tables_priv end, table_id=281474976710643 tombstone=461017783629250571 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.658 +00:00] [INFO] [SchemaBuilder.cpp:1250] ["Tombstone table ks_1_db_281474976710655.ks_1_tables_priv begin, table_id=281474976710643 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.658 +00:00] [INFO] [SchemaBuilder.cpp:1745] ["Table ks_1_db_281474976710655.ks_1_stats_fm_sketch dropped during drop all schemas, table_id=281474976710625"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.658 +00:00] [INFO] [SchemaBuilder.cpp:1275] ["Tombstone table ks_1_db_281474976710655.ks_1_stats_fm_sketch end, table_id=281474976710625 tombstone=461017783629250570 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.654 +00:00] [INFO] [SchemaBuilder.cpp:1250] ["Tombstone table ks_1_db_281474976710655.ks_1_stats_fm_sketch begin, table_id=281474976710625 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.654 +00:00] [INFO] [SchemaBuilder.cpp:1745] ["Table ks_1_db_281474976710655.ks_1_tidb_background_subtask dropped during drop all schemas, table_id=281474976710650"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.654 +00:00] [INFO] [SchemaBuilder.cpp:1275] ["Tombstone table ks_1_db_281474976710655.ks_1_tidb_background_subtask end, table_id=281474976710650 tombstone=461017783629250569 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.650 +00:00] [INFO] [SchemaBuilder.cpp:1250] ["Tombstone table ks_1_db_281474976710655.ks_1_tidb_background_subtask begin, table_id=281474976710650 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.650 +00:00] [INFO] [SchemaBuilder.cpp:1745] ["Table ks_1_db_281474976710655.ks_1_tidb_background_subtask_history dropped during drop all schemas, table_id=281474976710649"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.650 +00:00] [INFO] [SchemaBuilder.cpp:1275] ["Tombstone table ks_1_db_281474976710655.ks_1_tidb_background_subtask_history end, table_id=281474976710649 tombstone=461017783629250568 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.645 +00:00] [INFO] [SchemaBuilder.cpp:1250] ["Tombstone table ks_1_db_281474976710655.ks_1_tidb_background_subtask_history begin, table_id=281474976710649 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.645 +00:00] [INFO] [SchemaBuilder.cpp:1745] ["Table ks_1_db_281474976710655.ks_1_stats_table_locked dropped during drop all schemas, table_id=281474976710613"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.645 +00:00] [INFO] [SchemaBuilder.cpp:1275] ["Tombstone table ks_1_db_281474976710655.ks_1_stats_table_locked end, table_id=281474976710613 tombstone=461017783629250567 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.641 +00:00] [INFO] [SchemaBuilder.cpp:1250] ["Tombstone table ks_1_db_281474976710655.ks_1_stats_table_locked begin, table_id=281474976710613 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.641 +00:00] [INFO] [SchemaBuilder.cpp:1745] ["Table ks_1_db_281474976710655.ks_1_tidb_runaway_queries dropped during drop all schemas, table_id=281474976710605"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.641 +00:00] [INFO] [SchemaBuilder.cpp:1275] ["Tombstone table ks_1_db_281474976710655.ks_1_tidb_runaway_queries end, table_id=281474976710605 tombstone=461017783629250566 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.636 +00:00] [INFO] [SchemaBuilder.cpp:1250] ["Tombstone table ks_1_db_281474976710655.ks_1_tidb_runaway_queries begin, table_id=281474976710605 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.636 +00:00] [INFO] [SchemaBuilder.cpp:1745] ["Table ks_1_db_281474976710655.ks_1_expr_pushdown_blacklist dropped during drop all schemas, table_id=281474976710628"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.636 +00:00] [INFO] [SchemaBuilder.cpp:1275] ["Tombstone table ks_1_db_281474976710655.ks_1_expr_pushdown_blacklist end, table_id=281474976710628 tombstone=461017783629250565 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.632 +00:00] [INFO] [SchemaBuilder.cpp:1250] ["Tombstone table ks_1_db_281474976710655.ks_1_expr_pushdown_blacklist begin, table_id=281474976710628 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.632 +00:00] [INFO] [SchemaBuilder.cpp:1745] ["Table ks_1_db_281474976710655.ks_1_tidb_ddl_reorg dropped during drop all schemas, table_id=281474976710653"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.632 +00:00] [INFO] [SchemaBuilder.cpp:1275] ["Tombstone table ks_1_db_281474976710655.ks_1_tidb_ddl_reorg end, table_id=281474976710653 tombstone=461017783629250564 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.627 +00:00] [INFO] [SchemaBuilder.cpp:1250] ["Tombstone table ks_1_db_281474976710655.ks_1_tidb_ddl_reorg begin, table_id=281474976710653 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.627 +00:00] [INFO] [SchemaBuilder.cpp:1745] ["Table ks_1_db_281474976710655.ks_1_plan_replayer_task dropped during drop all schemas, table_id=281474976710614"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.627 +00:00] [INFO] [SchemaBuilder.cpp:1275] ["Tombstone table ks_1_db_281474976710655.ks_1_plan_replayer_task end, table_id=281474976710614 tombstone=461017783629250563 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.623 +00:00] [INFO] [SchemaBuilder.cpp:1250] ["Tombstone table ks_1_db_281474976710655.ks_1_plan_replayer_task begin, table_id=281474976710614 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.623 +00:00] [INFO] [SchemaBuilder.cpp:1745] ["Table ks_1_db_281474976710655.ks_1_analyze_options dropped during drop all schemas, table_id=281474976710620"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.623 +00:00] [INFO] [SchemaBuilder.cpp:1275] ["Tombstone table ks_1_db_281474976710655.ks_1_analyze_options end, table_id=281474976710620 tombstone=461017783629250562 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.619 +00:00] [INFO] [SchemaBuilder.cpp:1250] ["Tombstone table ks_1_db_281474976710655.ks_1_analyze_options begin, table_id=281474976710620 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.619 +00:00] [INFO] [SchemaBuilder.cpp:1745] ["Table ks_1_db_281474976710655.ks_1_default_roles dropped during drop all schemas, table_id=281474976710631"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.619 +00:00] [INFO] [SchemaBuilder.cpp:1275] ["Tombstone table ks_1_db_281474976710655.ks_1_default_roles end, table_id=281474976710631 tombstone=461017783629250561 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.615 +00:00] [INFO] [SchemaBuilder.cpp:1250] ["Tombstone table ks_1_db_281474976710655.ks_1_default_roles begin, table_id=281474976710631 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.615 +00:00] [INFO] [SchemaBuilder.cpp:1745] ["Table ks_1_db_281474976710655.ks_1_request_unit_by_group dropped during drop all schemas, table_id=281474976710601"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.615 +00:00] [INFO] [SchemaBuilder.cpp:1275] ["Tombstone table ks_1_db_281474976710655.ks_1_request_unit_by_group end, table_id=281474976710601 tombstone=461017783616143371 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.611 +00:00] [INFO] [SchemaBuilder.cpp:1250] ["Tombstone table ks_1_db_281474976710655.ks_1_request_unit_by_group begin, table_id=281474976710601 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.611 +00:00] [INFO] [SchemaBuilder.cpp:1745] ["Table ks_1_db_470.ks_1_cpt_checksum dropped during drop all schemas, table_id=474"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.611 +00:00] [INFO] [SchemaBuilder.cpp:1275] ["Tombstone table ks_1_db_470.ks_1_cpt_checksum end, table_id=474 tombstone=461017783616143370 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.607 +00:00] [INFO] [SchemaBuilder.cpp:1250] ["Tombstone table ks_1_db_470.ks_1_cpt_checksum begin, table_id=474 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.607 +00:00] [INFO] [SchemaBuilder.cpp:1745] ["Table ks_1_db_281474976710655.ks_1_capture_plan_baselines_blacklist dropped during drop all schemas, table_id=281474976710623"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.607 +00:00] [INFO] [SchemaBuilder.cpp:1275] ["Tombstone table ks_1_db_281474976710655.ks_1_capture_plan_baselines_blacklist end, table_id=281474976710623 tombstone=461017783616143369 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.603 +00:00] [INFO] [SchemaBuilder.cpp:1250] ["Tombstone table ks_1_db_281474976710655.ks_1_capture_plan_baselines_blacklist begin, table_id=281474976710623 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.603 +00:00] [INFO] [SchemaBuilder.cpp:1745] ["Table ks_1_db_281474976710655.ks_1_index_advisor_results dropped during drop all schemas, table_id=281474976710598"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.603 +00:00] [INFO] [SchemaBuilder.cpp:1275] ["Tombstone table ks_1_db_281474976710655.ks_1_index_advisor_results end, table_id=281474976710598 tombstone=461017783616143368 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.598 +00:00] [INFO] [SchemaBuilder.cpp:1250] ["Tombstone table ks_1_db_281474976710655.ks_1_index_advisor_results begin, table_id=281474976710598 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.598 +00:00] [INFO] [SchemaBuilder.cpp:1745] ["Table ks_1_db_478.ks_1_ks_1_orders_1 dropped during drop all schemas, table_id=482"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.598 +00:00] [INFO] [SchemaBuilder.cpp:1275] ["Tombstone table ks_1_db_478.ks_1_ks_1_orders_1 end, table_id=482 tombstone=461017783616143367 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.594 +00:00] [INFO] [SchemaBuilder.cpp:1250] ["Tombstone table ks_1_db_478.ks_1_ks_1_orders_1 begin, table_id=482 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.594 +00:00] [INFO] [SchemaBuilder.cpp:1745] ["Table ks_1_db_281474976710655.ks_1_tidb_ttl_table_status dropped during drop all schemas, table_id=281474976710612"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.594 +00:00] [INFO] [SchemaBuilder.cpp:1275] ["Tombstone table ks_1_db_281474976710655.ks_1_tidb_ttl_table_status end, table_id=281474976710612 tombstone=461017783616143366 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.589 +00:00] [INFO] [SchemaBuilder.cpp:1250] ["Tombstone table ks_1_db_281474976710655.ks_1_tidb_ttl_table_status begin, table_id=281474976710612 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.589 +00:00] [INFO] [SchemaBuilder.cpp:1745] ["Table ks_1_db_281474976710655.ks_1_tidb_workload_values dropped during drop all schemas, table_id=281474976710596"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.589 +00:00] [INFO] [SchemaBuilder.cpp:1275] ["Tombstone table ks_1_db_281474976710655.ks_1_tidb_workload_values end, table_id=281474976710596 tombstone=461017783616143365 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.585 +00:00] [INFO] [SchemaBuilder.cpp:1250] ["Tombstone table ks_1_db_281474976710655.ks_1_tidb_workload_values begin, table_id=281474976710596 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.585 +00:00] [INFO] [SchemaBuilder.cpp:1745] ["Table ks_1_db_281474976710655.ks_1_tidb_kernel_options dropped during drop all schemas, table_id=281474976710597"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.585 +00:00] [INFO] [SchemaBuilder.cpp:1275] ["Tombstone table ks_1_db_281474976710655.ks_1_tidb_kernel_options end, table_id=281474976710597 tombstone=461017783616143364 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.581 +00:00] [INFO] [SchemaBuilder.cpp:1250] ["Tombstone table ks_1_db_281474976710655.ks_1_tidb_kernel_options begin, table_id=281474976710597 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.581 +00:00] [INFO] [SchemaBuilder.cpp:1745] ["Table ks_1_db_281474976710655.ks_1_stats_meta dropped during drop all schemas, table_id=281474976710638"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.581 +00:00] [INFO] [SchemaBuilder.cpp:1275] ["Tombstone table ks_1_db_281474976710655.ks_1_stats_meta end, table_id=281474976710638 tombstone=461017783616143363 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.576 +00:00] [INFO] [SchemaBuilder.cpp:1250] ["Tombstone table ks_1_db_281474976710655.ks_1_stats_meta begin, table_id=281474976710638 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.576 +00:00] [INFO] [SchemaBuilder.cpp:1745] ["Table ks_1_db_470.ks_1_cpt_metadata dropped during drop all schemas, table_id=476"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.576 +00:00] [INFO] [SchemaBuilder.cpp:1275] ["Tombstone table ks_1_db_470.ks_1_cpt_metadata end, table_id=476 tombstone=461017783616143362 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.571 +00:00] [INFO] [SchemaBuilder.cpp:1250] ["Tombstone table ks_1_db_470.ks_1_cpt_metadata begin, table_id=476 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.571 +00:00] [INFO] [SchemaBuilder.cpp:1745] ["Table ks_1_db_281474976710655.ks_1_tidb_runaway_watch_done dropped during drop all schemas, table_id=281474976710603"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.571 +00:00] [INFO] [SchemaBuilder.cpp:1275] ["Tombstone table ks_1_db_281474976710655.ks_1_tidb_runaway_watch_done end, table_id=281474976710603 tombstone=461017783616143361 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.567 +00:00] [INFO] [SchemaBuilder.cpp:1250] ["Tombstone table ks_1_db_281474976710655.ks_1_tidb_runaway_watch_done begin, table_id=281474976710603 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.567 +00:00] [INFO] [SchemaBuilder.cpp:1745] ["Table ks_1_db_281474976710655.ks_1_tidb_pitr_id_map dropped during drop all schemas, table_id=281474976710600"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.567 +00:00] [INFO] [SchemaBuilder.cpp:1275] ["Tombstone table ks_1_db_281474976710655.ks_1_tidb_pitr_id_map end, table_id=281474976710600 tombstone=461017783603036177 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.563 +00:00] [INFO] [SchemaBuilder.cpp:1250] ["Tombstone table ks_1_db_281474976710655.ks_1_tidb_pitr_id_map begin, table_id=281474976710600 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.563 +00:00] [INFO] [SchemaBuilder.cpp:1745] ["Table ks_1_db_281474976710655.ks_1_stats_meta_history dropped during drop all schemas, table_id=281474976710618"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.563 +00:00] [INFO] [SchemaBuilder.cpp:1275] ["Tombstone table ks_1_db_281474976710655.ks_1_stats_meta_history end, table_id=281474976710618 tombstone=461017783603036176 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.559 +00:00] [INFO] [SchemaBuilder.cpp:1250] ["Tombstone table ks_1_db_281474976710655.ks_1_stats_meta_history begin, table_id=281474976710618 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.559 +00:00] [INFO] [SchemaBuilder.cpp:1745] ["Table ks_1_db_485.ks_1_cpt_data dropped during drop all schemas, table_id=487"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.559 +00:00] [INFO] [SchemaBuilder.cpp:1275] ["Tombstone table ks_1_db_485.ks_1_cpt_data end, table_id=487 tombstone=461017783603036174 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.554 +00:00] [INFO] [SchemaBuilder.cpp:1250] ["Tombstone table ks_1_db_485.ks_1_cpt_data begin, table_id=487 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.554 +00:00] [INFO] [SchemaBuilder.cpp:1745] ["Table ks_1_db_281474976710655.ks_1_tidb_restore_registry dropped during drop all schemas, table_id=281474976710599"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.554 +00:00] [INFO] [SchemaBuilder.cpp:1275] ["Tombstone table ks_1_db_281474976710655.ks_1_tidb_restore_registry end, table_id=281474976710599 tombstone=461017783603036173 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.550 +00:00] [INFO] [SchemaBuilder.cpp:1250] ["Tombstone table ks_1_db_281474976710655.ks_1_tidb_restore_registry begin, table_id=281474976710599 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.550 +00:00] [INFO] [SchemaBuilder.cpp:1745] ["Table ks_1_db_281474976710655.ks_1_opt_rule_blacklist dropped during drop all schemas, table_id=281474976710627"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.550 +00:00] [INFO] [SchemaBuilder.cpp:1275] ["Tombstone table ks_1_db_281474976710655.ks_1_opt_rule_blacklist end, table_id=281474976710627 tombstone=461017783603036170 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.546 +00:00] [INFO] [SchemaBuilder.cpp:1250] ["Tombstone table ks_1_db_281474976710655.ks_1_opt_rule_blacklist begin, table_id=281474976710627 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.546 +00:00] [INFO] [SchemaBuilder.cpp:1745] ["Table ks_1_db_478.ks_1_ks_1_orders_3 dropped during drop all schemas, table_id=484"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.546 +00:00] [INFO] [SchemaBuilder.cpp:1275] ["Tombstone table ks_1_db_478.ks_1_ks_1_orders_3 end, table_id=484 tombstone=461017783603036167 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.540 +00:00] [INFO] [SchemaBuilder.cpp:1250] ["Tombstone table ks_1_db_478.ks_1_ks_1_orders_3 begin, table_id=484 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.540 +00:00] [INFO] [SchemaBuilder.cpp:1745] ["Table ks_1_db_485.ks_1_cpt_checksum dropped during drop all schemas, table_id=489"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.540 +00:00] [INFO] [SchemaBuilder.cpp:1275] ["Tombstone table ks_1_db_485.ks_1_cpt_checksum end, table_id=489 tombstone=461017783603036166 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.536 +00:00] [INFO] [SchemaBuilder.cpp:1250] ["Tombstone table ks_1_db_485.ks_1_cpt_checksum begin, table_id=489 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.536 +00:00] [INFO] [SchemaBuilder.cpp:1745] ["Table ks_1_db_485.ks_1_cpt_metadata dropped during drop all schemas, table_id=491"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.536 +00:00] [INFO] [SchemaBuilder.cpp:1275] ["Tombstone table ks_1_db_485.ks_1_cpt_metadata end, table_id=491 tombstone=461017783603036165 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.532 +00:00] [INFO] [SchemaBuilder.cpp:1250] ["Tombstone table ks_1_db_485.ks_1_cpt_metadata begin, table_id=491 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.532 +00:00] [INFO] [SchemaBuilder.cpp:1745] ["Table ks_1_db_281474976710655.ks_1_stats_top_n dropped during drop all schemas, table_id=281474976710629"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.532 +00:00] [INFO] [SchemaBuilder.cpp:1275] ["Tombstone table ks_1_db_281474976710655.ks_1_stats_top_n end, table_id=281474976710629 tombstone=461017783603036164 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.528 +00:00] [INFO] [SchemaBuilder.cpp:1250] ["Tombstone table ks_1_db_281474976710655.ks_1_stats_top_n begin, table_id=281474976710629 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.528 +00:00] [INFO] [SchemaBuilder.cpp:1745] ["Table ks_1_db_470.ks_1_cpt_data dropped during drop all schemas, table_id=472"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.528 +00:00] [INFO] [SchemaBuilder.cpp:1275] ["Tombstone table ks_1_db_470.ks_1_cpt_data end, table_id=472 tombstone=461017783603036163 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.524 +00:00] [INFO] [SchemaBuilder.cpp:1250] ["Tombstone table ks_1_db_470.ks_1_cpt_data begin, table_id=472 action=DropAllSchema"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.524 +00:00] [INFO] [SchemaBuilder.cpp:1726] ["Drop all schemas begin"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 16:01:18.523 +00:00] [INFO] [TiDBSchemaSyncer.cpp:81] ["Start to drop schemas. schema version key not exists, keyspace should be deleted"] [source="keyspace=1"] [thread_id=10]
[2025/09/23 13:21:03.672 +00:00] [INFO] [TiDBSchemaSyncer.cpp:154] ["End sync schema, version has been updated to 34"] [source="keyspace=1"] [thread_id=21]
[2025/09/23 13:21:03.672 +00:00] [INFO] [SchemaBuilder.cpp:517] ["Updating replica info, replica count old=1 new=2 available=optional(true) physical_table_id=484 logical_table_id=484"] [source="keyspace=1"] [thread_id=21]
[2025/09/23 13:21:03.666 +00:00] [INFO] [SchemaBuilder.cpp:517] ["Updating replica info, replica count old=1 new=2 available=optional(true) physical_table_id=483 logical_table_id=483"] [source="keyspace=1"] [thread_id=21]
[2025/09/23 13:21:03.659 +00:00] [INFO] [SchemaBuilder.cpp:517] ["Updating replica info, replica count old=1 new=2 available=optional(true) physical_table_id=482 logical_table_id=482"] [source="keyspace=1"] [thread_id=21]
[2025/09/23 13:21:03.651 +00:00] [INFO] [TiDBSchemaSyncer.cpp:107] ["Start to sync schemas. current version is: 31 and try to sync schema version to: 34"] [source="keyspace=1"] [thread_id=21]
2. What did you expect to see? (Required)
3. What did you see instead (Required)
4. What is your TiFlash version? (Required)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the keyspace-removal flow with the shown pd-ctl keyspace list command and inspect the TiDBSchemaSyncer.cpp and SchemaBuilder.cpp log paths. Compare store size before and after the keyspace is archived and removed; done means the store size decreases as expected after cleanup completes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100