mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 17:41:59 +00:00
Merge pull request #61952 from shabroo/patch-1
Fixing atomic engine warning message
This commit is contained in:
commit
c39e625670
@ -1219,7 +1219,7 @@ void Context::addWarningMessageAboutDatabaseOrdinary(const String & database_nam
|
|||||||
/// We don't use getFlagsPath method, because it takes a shared lock.
|
/// We don't use getFlagsPath method, because it takes a shared lock.
|
||||||
auto convert_databases_flag = fs::path(shared->flags_path) / "convert_ordinary_to_atomic";
|
auto convert_databases_flag = fs::path(shared->flags_path) / "convert_ordinary_to_atomic";
|
||||||
auto message = fmt::format("Server has databases (for example `{}`) with Ordinary engine, which was deprecated. "
|
auto message = fmt::format("Server has databases (for example `{}`) with Ordinary engine, which was deprecated. "
|
||||||
"To convert this database to a new Atomic engine, create a flag {} and make sure that ClickHouse has write permission for it. "
|
"To convert this database to the new Atomic engine, create a flag {} and make sure that ClickHouse has write permission for it. "
|
||||||
"Example: sudo touch '{}' && sudo chmod 666 '{}'",
|
"Example: sudo touch '{}' && sudo chmod 666 '{}'",
|
||||||
database_name,
|
database_name,
|
||||||
convert_databases_flag.string(), convert_databases_flag.string(), convert_databases_flag.string());
|
convert_databases_flag.string(), convert_databases_flag.string(), convert_databases_flag.string());
|
||||||
|
Loading…
Reference in New Issue
Block a user