This is an automated email from the ASF dual-hosted git repository.
isapego pushed a commit to branch ignite-27304
in repository https://gitbox.apache.org/repos/asf/ignite-3.git
The following commit(s) were added to refs/heads/ignite-27304 by this push:
new b6e9bf098a3 IGNITE-27304: Debug
b6e9bf098a3 is described below
commit b6e9bf098a3ad5ebaefde50ee755b4fc99a8dbee
Author: Igor Sapego <[email protected]>
AuthorDate: Mon Mar 23 17:59:02 2026 +0100
IGNITE-27304: Debug
---
modules/platforms/cpp/ignite/client/ignite_client.cpp | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/modules/platforms/cpp/ignite/client/ignite_client.cpp
b/modules/platforms/cpp/ignite/client/ignite_client.cpp
index 64e2f7d262c..6aa5f316345 100644
--- a/modules/platforms/cpp/ignite/client/ignite_client.cpp
+++ b/modules/platforms/cpp/ignite/client/ignite_client.cpp
@@ -54,12 +54,16 @@ ignite_client
ignite_client::start(ignite_client_configuration configuration, st
std::cout << "status == std::future_status::deferred: " << bool(status ==
std::future_status::deferred) << std::endl;
std::cout << "status == std::future_status::timeout: " << bool(status ==
std::future_status::timeout) << std::endl;
-
if (status == std::future_status::timeout) {
impl->stop();
+ std::cout << "Before throw" << std::endl;
throw ignite_error(error::code::CONNECTION, "Can not establish
connection within timeout");
+ std::cout << "After throw" << std::endl;
}
+ std::cout << "After throw 2" << std::endl;
+
+
assert(status == std::future_status::ready);
auto res = future.get();
if (res.has_error()) {