I deleted all the zookeeper's for clickhouse path because its hard disk was full, after that I restarted the cluster.
Right now the data can not be inserted because the path is not created
if (host_in_hostlist)
        current_task = std::move(task);
    else
        out_reason = "There is no a local address in host list";
    return host_in_hostlist;
}
static void filterAndSortQueueNodes(Strings & all_nodes)
{
    all_nodes.erase(std::remove_if(all_nodes.begin(), all_nodes.end(), [] (const String & s) { return !startsWith(s, "query-"); }), all_nodes.end());
    std::sort(all_nodes.begin(), all_nodes.end());
}
void DDLWorker::processTasks()
{
    LOG_DEBUG(log, "Processing tasks");
    auto zookeeper = tryGetZooKeeper();
    Strings queue_nodes = zookeeper->getChildren(queue_dir, nullptr, queue_updated_event);
    filterAndSortQueueNodes(queue_nodes);
    if (queue_nodes.empty())
        return;
    bool server_startup = last_processed_task_name.empty();
    auto begin_node = server_startup
        ? queue_nodes.begin()
        : std::upper_bound(queue_nodes.begin(), queue_nodes.end(), last_processed_task_name);
    for (auto it = begin_node; it != queue_nodes.end(); ++it)
    {
        String entry_name = *it;
        if (current_task)
        {
            if (current_task->entry_name == entry_name)
            {