Fix create

This commit is contained in:
Antonio Andelic 2022-08-30 13:41:13 +00:00
parent 30429d75b3
commit bf03dfc661

View File

@ -289,7 +289,10 @@ StorageKeeperMap::StorageKeeperMap(
auto code = client->tryCreate(table_path, "", zkutil::CreateMode::Persistent);
if (code == Coordination::Error::ZOK)
{
table_is_valid = true;
return;
}
if (code == Coordination::Error::ZNONODE)
LOG_INFO(log, "Metadata nodes were deleted in background, will retry");