Remove test logging of signal "EINTR"

This commit is contained in:
Kruglov Pavel 2022-12-07 13:32:43 +01:00 committed by GitHub
parent e1a6a1182e
commit 1197d3fbe3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,7 +3,6 @@
#include "Epoll.h" #include "Epoll.h"
#include <Common/Exception.h> #include <Common/Exception.h>
#include <unistd.h> #include <unistd.h>
#include <Common/logger_useful.h>
namespace DB namespace DB
{ {
@ -70,9 +69,6 @@ size_t Epoll::getManyReady(int max_events, epoll_event * events_out, bool blocki
if (ready_size == -1 && errno != EINTR) if (ready_size == -1 && errno != EINTR)
throwFromErrno("Error in epoll_wait", DB::ErrorCodes::EPOLL_ERROR); throwFromErrno("Error in epoll_wait", DB::ErrorCodes::EPOLL_ERROR);
if (errno == EINTR)
LOG_TEST(&Poco::Logger::get("Epoll"), "EINTR");
} }
while (ready_size <= 0 && (ready_size != 0 || blocking)); while (ready_size <= 0 && (ready_size != 0 || blocking));