Fix for incorrect error message

max_[table/partition]_size_to_drop can be changed without restart since https://github.com/ClickHouse/ClickHouse/pull/7779
This commit is contained in:
Denny Crane 2020-10-22 15:22:17 -03:00 committed by GitHub
parent a1a7bc0217
commit b310d0abb4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1950,7 +1950,7 @@ void Context::checkCanBeDropped(const String & database, const String & table, c
<< (force_file_exists ? "exists but not writeable (could not be removed)" : "doesn't exist") << "\n";
ostr << "How to fix this:\n"
<< "1. Either increase (or set to zero) max_[table/partition]_size_to_drop in server config and restart ClickHouse\n"
<< "1. Either increase (or set to zero) max_[table/partition]_size_to_drop in server config\n"
<< "2. Either create forcing file " << force_file.path() << " and make sure that ClickHouse has write permission for it.\n"
<< "Example:\nsudo touch '" << force_file.path() << "' && sudo chmod 666 '" << force_file.path() << "'";