Merge pull request #69835 from den-crane/patch-75

Improve error message DDLWorker.cpp
This commit is contained in:
Han Fei 2024-09-21 17:25:18 +00:00 committed by GitHub
commit a940a9ebbc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1045,7 +1045,7 @@ void DDLWorker::createStatusDirs(const std::string & node_path, const ZooKeeperP
if (is_currently_deleting)
{
cleanup_event->set();
throw Exception(ErrorCodes::UNFINISHED, "Cannot create status dirs for {}, "
throw Exception(ErrorCodes::UNFINISHED, "Cannot create znodes (status) for {} in [Zoo]Keeper, "
"most likely because someone is deleting it concurrently", node_path);
}