всем привет : )
кто-нибудь сталкивался с ошибкой, когда HAproxy чекает доступность ноды кликахуса? вроде бы на работоспособность не влияет, но логи забивает (версия
21.3.2.5):
2021.03.17 11:53:56.323661 [ 21507 ] {} <Trace> HTTPHandler-factory: HTTP Request for HTTPHandler-factory. Method: HEAD, Address: 10.142.4.2:45514, User-Agent: (none), Content Type: , Transfer Encoding: identity, X-Forwarded-For: (none)
2021.03.17 11:53:56.324065 [ 21507 ] {} <Error> ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 107, e.displayText() = Net Exception: Socket is not connected, Stack trace (when copying this message, always include the lines b
elow):
0. Poco::Net::SocketImpl::error(int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) @ 0x11f75c5e in /usr/bin/clickhouse
1. Poco::Net::SocketImpl::peerAddress() @ 0x11f77ed6 in /usr/bin/clickhouse
2. DB::HTTPServerRequest::HTTPServerRequest(DB::Context const&, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0xf8d4504 in /usr/bin/clickhouse
3. DB::HTTPServerConnection::run() @ 0xf8d3374 in /usr/bin/clickhouse
4. Poco::Net::TCPServerConnection::start() @ 0x11f7ccbf in /usr/bin/clickhouse
5. Poco::Net::TCPServerDispatcher::run() @ 0x11f7e6d1 in /usr/bin/clickhouse
6. Poco::PooledThread::run() @ 0x120b4df9 in /usr/bin/clickhouse
7. Poco::ThreadImpl::runnableEntry(void*) @ 0x120b0c5a in /usr/bin/clickhouse
8. start_thread @ 0x76db in /lib/x86_64-linux-gnu/libpthread-2.27.so
9. __clone @ 0x121a3f in /lib/x86_64-linux-gnu/libc-2.27.so
(version 21.3.2.5 (official build))
в конфиге HAproxy:
option httpchk HEAD /ping HTTP/1.1
меняли на метод GET - не помогло.
также проверили на версии CH
21.2.5.5 - принципиальная ошибка та же, только код другой
2021.03.17 11:21:19.528225 [ 32674 ] {} <Error> ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 104, e.displayText() = Connection reset by peer, Stack trace (when copying this message, always include the lines below):