mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
fix
This commit is contained in:
parent
6f88065cc1
commit
a11fad1561
@ -784,7 +784,7 @@ void DatabaseReplicated::recoverLostReplica(const ZooKeeperPtr & current_zookeep
|
||||
dropped_dictionaries += table->isDictionary();
|
||||
table->flushAndShutdown();
|
||||
|
||||
if (table->getName() == "MaterializedView")
|
||||
if (table->getName() == "MaterializedView" || table->getName() == "WindowView")
|
||||
{
|
||||
/// We have to drop MV inner table, so MV will not try to do it implicitly breaking some invariants.
|
||||
/// Also we have to commit metadata transaction, because it's not committed by default for inner tables of MVs.
|
||||
|
Loading…
Reference in New Issue
Block a user