Load join tables first on server startup#15157
Load join tables first on server startup#15157javisantana wants to merge 2 commits intoClickHouse:masterfrom
Conversation
|
Thank you for an attempt to fix this annoying issue, but the fix seems to be very ad hoc. We have similar issue with
As for now, clickhouse-server loads |
|
Makes sense, thanks for the info, I didn't realize about dictGet and StorageSet. In any case, I think join tables and dictionaries would solve most of the issues (not at all them but looking at the bug reports seems like most of them come from these kind of tables) |
I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en
Changelog category (leave one):
When you have two tables like this.
When clickhouse starts up it fails because when
ais loadedzis not ready and thejoinGetfails and therefore the table loading stops (and server shuts down)This PR changes the startup a little bit so CH loads Join tables first and then the other ones.
Not sure if this is the right approach but it's working for us.