简体   繁体   English

丢失 zookeeper 集群后 Clickhouse 不工作,如何强制它生成新的元数据

[英]Clickhouse not working after losing zookeeper cluster, how to force it to generate new metadata

I am setting up Posthog which includes Clickhouse and connects to Zookeeper.我正在设置 Posthog,其中包括 Clickhouse 并连接到 Zookeeper。 It was set up and working, but the Zookeeper cluster was destroyed by accident.它已经设置好并且可以正常工作,但是 Zookeeper 集群被意外破坏了。

Now a new one is set up, but Clickhouse logs that it has issues with the metadata and can't use the new zookeeper, tables are being put in READ_ONLY mode.现在设置了一个新的,但 Clickhouse 记录它有元数据问题并且无法使用新的 zookeeper,表被置于 READ_ONLY 模式。 Because of this no new PostHog events are being saved.因此,没有新的 PostHog 事件被保存。

How can I make Clickhouse generate new metadata on this new Zookeeper cluster?如何让 Clickhouse 在这个新的 Zookeeper 集群上生成新的元数据?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM