mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-11 01:54:55 +00:00
fix replicated indices mutations
This commit is contained in:
parent
538c17be3f
commit
39b40f8e42
@ -865,7 +865,7 @@ bool StorageReplicatedMergeTree::executeLogEntry(LogEntry & entry)
|
||||
return true;
|
||||
}
|
||||
|
||||
if (entry.type == LogEntry::CLEAR_COLUMN)
|
||||
if (entry.type == LogEntry::CLEAR_COLUMN || entry.type == LogEntry::CLEAR_INDEX)
|
||||
{
|
||||
executeClearColumnOrIndexInPartition(entry);
|
||||
return true;
|
||||
|
3
dbms/tests/queries/0_stateless/00975_indices_mutation_replicated_zookeeper.sh
Normal file → Executable file
3
dbms/tests/queries/0_stateless/00975_indices_mutation_replicated_zookeeper.sh
Normal file → Executable file
@ -3,7 +3,8 @@
|
||||
CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
||||
. $CURDIR/../shell_config.sh
|
||||
|
||||
$CLICKHOUSE_CLIENT --query="DROP TABLE IF EXISTS test.minmax_idx;"
|
||||
$CLICKHOUSE_CLIENT --query="DROP TABLE IF EXISTS test.indices_mutaions1;"
|
||||
$CLICKHOUSE_CLIENT --query="DROP TABLE IF EXISTS test.indices_mutaions2;"
|
||||
|
||||
|
||||
$CLICKHOUSE_CLIENT -n --query="
|
||||
|
Loading…
Reference in New Issue
Block a user