Description
- Start Ignite3 server node, create some table
- Start Java client and do some query in the loop
- Kill the server node
Expected behaviour:
- "Connection reset by peer" exception
- some reconnect exception(s)
Actual behaviour:
- "Connection reset by peer" exception
- 800 LOC exception with recursion (see the attachment)
Client code is:
try (IgniteClient client = IgniteClient.builder().addresses("172.24.1.2:10800").build()) { while (true) { QAaaSUtils.sleep(1000); System.out.println("Has " + client.connections().size() + " connections"); System.out.println(client.connections()); try (Session sesssion = client.sql().createSession(); ResultSet<SqlRow> rs = sesssion.execute(null, "select * from cachepoc_part_a_0 limit 10")) { System.out.println("Query executed"); while (rs.hasNext()) { SqlRow row = rs.next(); System.out.println(row); } } } }