mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
outdated parts are loading async, need to wait them after attach
This commit is contained in:
parent
96700abbe1
commit
b8b3d663c1
@ -45,4 +45,5 @@ $CLICKHOUSE_CLIENT --query "DETACH TABLE table_with_gap;"
|
||||
$CLICKHOUSE_CLIENT --query "ATTACH TABLE table_with_gap;"
|
||||
|
||||
$CLICKHOUSE_CLIENT --query "SELECT 'parts after detach/attach';"
|
||||
$CLICKHOUSE_CLIENT --query "SYSTEM WAIT LOADING PARTS table_with_gap;"
|
||||
$CLICKHOUSE_CLIENT --query "SELECT name, rows, active FROM system.parts WHERE table = 'table_with_gap' AND database = currentDatabase();"
|
||||
|
Loading…
Reference in New Issue
Block a user