**Describe the issue**

```
Code: 86. DB::HTTPException: Received error from remote server /?endpoint=DataPartsExchange%3A%2Fclickhouse%2Ftables%2F091f5ec4-13f0-485a-9afe-92cefaf15518%2F1%2Freplicas%2Fus&part=all_14200_14486_63&client_protocol_version=7&compress=false. HTTP status code:  Internal Server Error, body: Code: 232. DB::Exception: No part all_14200_14486_63 in table. (NO_SUCH_DATA_PART), Stack trace (when copying this message, always include the lines below):

0. ./build_docker/../src/Common/Exception.cpp:77: DB::Exception::Exception(DB::Exception::MessageMasked const&, int, bool) @ 0xe48155a in /usr/bin/clickhouse
1. DB::Exception::Exception<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&>(int, fmt::v8::basic_format_string<char, fmt::v8::type_identity<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&>::type>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) @ 0x82ab740 in /usr/bin/clickhouse
2. ./build_docker/../src/Storages/MergeTree/DataPartsExchange.cpp:421: DB::DataPartsExchange::Service::findPart(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) @ 0x14a32489 in /usr/bin/clickhouse
3. ./build_docker/../contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::DataPartsExchange::Service::processQuery(DB::HTMLForm const&, DB::ReadBuffer&, DB::WriteBuffer&, DB::HTTPServerResponse&) @ 0x14a3071a in /usr/bin/clickhouse
4. ./build_docker/../contrib/llvm-project/libcxx/include/shared_mutex:370: DB::InterserverIOHTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTTPServerResponse&, DB::InterserverIOHTTPHandler::Output&) @ 0x14ff2cde in /usr/bin/clickhouse
5. ./build_docker/../contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterserverIOHTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x14ff3613 in /usr/bin/clickhouse
6. ./build_docker/../contrib/poco/Foundation/include/Poco/AutoPtr.h:215: DB::HTTPServerConnection::run() @ 0x1505fed4 in /usr/bin/clickhouse
7. ./build_docker/../contrib/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x17ebced4 in /usr/bin/clickhouse
8. ./build_docker/../contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x17ebe87b in /usr/bin/clickhouse
9. ./build_docker/../contrib/poco/Foundation/src/ThreadPool.cpp:213: Poco::PooledThread::run() @ 0x1804d967 in /usr/bin/clickhouse
10. ./build_docker/../contrib/poco/Foundation/include/Poco/SharedPtr.h:277: Poco::ThreadImpl::runnableEntry(void*) @ 0x1804b39d in /usr/bin/clickhouse
11. ? @ 0x7f833a232609 in ?
12. __clone @ 0x7f833a157163 in ?
 (version 22.12.1.1071 (official build)). (RECEIVED_ERROR_FROM_REMOTE_IO_SERVER) (version 22.12.1.1071 (official build))
```

Here: 
```
HTTP status code:  Internal Server Error
```
const auto & session_data = session->sessionData();
            if (!session_data.empty())
            {
                auto msg = Poco::AnyCast<std::string>(session_data);
                if (!msg.empty())
                {
                    LOG_TRACE((&Poco::Logger::get("HTTPCommon")), "Failed communicating with {} with error '{}' will try to reconnect session", host, msg);
                    if (resolve_host)
                    {
                        
                        const auto ip = DNSResolver::instance().resolveHost(host).toString();
                        if (ip != session->getHost())
                        {
                            session->reset();
                            session->setHost(ip);
                        }
                    }
                }
                
                
                
                session->attachSessionData({});
            }
            setTimeouts(*session, timeouts);
            return session;
        }
    };
}
void setResponseDefaultHeaders(HTTPServerResponse & response, size_t keep_alive_timeout)