You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I accidentally started migration on view instead of table with on cluster statement. All nodes of cluster are down and failed to restart.
Does it reproduce on recent release?
met on 20.8.7.15
reproduced on 21.2.4.6
How to reproduce
createtabletest_shardon cluster ClusterName
(f1 Int32, f2 Int32, pk Int32)
engine=ReplicatedMergeTree('/clickhouse/tables/test_shard/{uuid}/{shard}/table_name','{replica}')
order by f1
partition by pk;
createtableteston cluster ClusterName
(f1 Int32, f2 Int32, pk Int32)
engine=Distributed(ClusterName,default,test_shard, f1);
createviewtest_viewon cluster ClusterName
asselect f1, f2
from test
where pk =2;
insert into test (f1,f2,pk)
values (1,1,1)
, (1,1,2)
, (2,1,1)
, (2,1,2);
select*from test_view;
altertable test_view on cluster ClusterName deletewhere pk=2;
Expected behavior
Clickhouse throws exception, cancel query, all nodes continue to work
Describe the bug
I accidentally started migration on view instead of table with
on cluster
statement. All nodes of cluster are down and failed to restart.Does it reproduce on recent release?
met on 20.8.7.15
reproduced on 21.2.4.6
How to reproduce
Expected behavior
Clickhouse throws exception, cancel query, all nodes continue to work
Error message and/or stacktrace
executing query logs
reexecuting after restart logs
The text was updated successfully, but these errors were encountered: