This is an automated email from the ASF dual-hosted git repository.
isapego pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/ignite-3.git
The following commit(s) were added to refs/heads/main by this push:
new 07cebb426f IGNITE-21804 Fix macos build of Ignite CPP client (#3440)
07cebb426f is described below
commit 07cebb426fb0e856be2eae507a893517ed8ee885
Author: Viacheslav Blinov <[email protected]>
AuthorDate: Fri Mar 22 14:04:55 2024 +0300
IGNITE-21804 Fix macos build of Ignite CPP client (#3440)
---
.../cpp/ignite/network/detail/macos/macos_async_worker_thread.cpp | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git
a/modules/platforms/cpp/ignite/network/detail/macos/macos_async_worker_thread.cpp
b/modules/platforms/cpp/ignite/network/detail/macos/macos_async_worker_thread.cpp
index 437c8375be..1edbca496e 100644
---
a/modules/platforms/cpp/ignite/network/detail/macos/macos_async_worker_thread.cpp
+++
b/modules/platforms/cpp/ignite/network/detail/macos/macos_async_worker_thread.cpp
@@ -68,7 +68,7 @@ void linux_async_worker_thread::start(size_t limit,
std::vector<tcp_range> addrs
if (m_stop_event < 0) {
std::string msg = get_last_system_error("Failed to create stop event
instance", "");
epoll_shim_close(m_stop_event);
- throw ignite_error(status_code::OS, msg);
+ throw ignite_error(error::code::INTERNAL, msg);
}
epoll_event event{};
@@ -81,7 +81,7 @@ void linux_async_worker_thread::start(size_t limit,
std::vector<tcp_range> addrs
std::string msg = get_last_system_error("Failed to create stop event
instance", "");
epoll_shim_close(m_stop_event);
epoll_shim_close(m_epoll);
- throw ignite_error(status_code::OS, msg);
+ throw ignite_error(error::code::INTERNAL, msg);
}
m_stopping = false;
@@ -248,7 +248,7 @@ void linux_async_worker_thread::handle_connection_events() {
}
void linux_async_worker_thread::report_connection_error(const end_point &addr,
std::string msg) {
- ignite_error err(status_code::NETWORK, std::move(msg));
+ ignite_error err(error::code::CONNECTION, std::move(msg));
m_client_pool.handle_connection_error(addr, err);
}