Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ClickHouse 3551 Remove external dictionaries, when config updated #2779

Merged
merged 4 commits into from
Aug 3, 2018
Merged

ClickHouse 3551 Remove external dictionaries, when config updated #2779

merged 4 commits into from
Aug 3, 2018

Conversation

CurtizJ
Copy link
Member

@CurtizJ CurtizJ commented Aug 1, 2018

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en

@@ -166,8 +169,8 @@ class ExternalLoader
/// Check objects definitions in config files and reload or/and add new ones if the definition is changed
/// If loadable_name is not empty, load only loadable object with name loadable_name
void reloadFromConfigFiles(bool throw_on_error, bool force_reload = false, const std::string & loadable_name = "");
void reloadFromConfigFile(const std::string & config_path, bool throw_on_error, bool force_reload,
const std::string & loadable_name);
void reloadFromConfigFile(const std::string & config_path, const bool throw_on_error,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

А зачем параметры, передающиеся по значению, делать константными?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Видимо это случайно так вышло.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Один из наших коллег так писал из приципа. На мой взгляд - не плохо и не хорошо.

@alexey-milovidov
Copy link
Member

You should add integration test (or at least estimate how hard it would be to add integration test for this feature).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants