[
https://issues.apache.org/jira/browse/IGNITE-21537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17846735#comment-17846735
]
Alexander Belyak commented on IGNITE-21537:
-------------------------------------------
Still getting 150+ lines like:
{noformat}
2024-05-15 17:44:22:401 +0000
[WARNING][%poc-tester-SERVER-172.24.1.4-id-0%JRaft-AppendEntries-Processor-1][Replicator]
Fail to issue RPC to poc-tester-SERVER-172.24.1.2-id-0,
consecutiveErrorTimes=100, error=Status[EINTERNAL<1004>: Check
connection[poc-tester-SERVER-172.24.1.2-id-0] fail and try to create new one]
2024-05-15 17:44:22:513 +0000
[ERROR][%poc-tester-SERVER-172.24.1.4-id-0%JRaft-Common-Executor-1][AbstractClientService]
Fail to connect poc-tester-SERVER-172.24.1.2-id-0, exception:
io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused:
/172.24.1.2:3344.
2024-05-15 17:44:22:523 +0000
[ERROR][%poc-tester-SERVER-172.24.1.4-id-0%JRaft-Common-Executor-3][AbstractClientService]
Fail to connect poc-tester-SERVER-172.24.1.2-id-0, exception:
io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused:
/172.24.1.2:3344.
2024-05-15 17:44:22:635 +0000
[ERROR][%poc-tester-SERVER-172.24.1.4-id-0%JRaft-Common-Executor-2][AbstractClientService]
Fail to connect poc-tester-SERVER-172.24.1.2-id-0, exception:
io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused:
/172.24.1.2:3344.
2024-05-15 17:44:22:644 +0000
[ERROR][%poc-tester-SERVER-172.24.1.4-id-0%JRaft-Common-Executor-6][AbstractClientService]
Fail to connect poc-tester-SERVER-172.24.1.2-id-0, exception:
io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused:
/172.24.1.2:3344.
2024-05-15 17:44:22:757 +0000
[ERROR][%poc-tester-SERVER-172.24.1.4-id-0%JRaft-Common-Executor-7][AbstractClientService]
Fail to connect poc-tester-SERVER-172.24.1.2-id-0, exception:
io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused:
/172.24.1.2:3344.
2024-05-15 17:44:22:767 +0000
[ERROR][%poc-tester-SERVER-172.24.1.4-id-0%JRaft-Common-Executor-1][AbstractClientService]
Fail to connect poc-tester-SERVER-172.24.1.2-id-0, exception:
io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused:
/172.24.1.2:3344.
2024-05-15 17:44:22:878 +0000
[ERROR][%poc-tester-SERVER-172.24.1.4-id-0%JRaft-Common-Executor-0][AbstractClientService]
Fail to connect poc-tester-SERVER-172.24.1.2-id-0, exception:
io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused:
/172.24.1.2:3344.
2024-05-15 17:44:22:900 +0000
[ERROR][%poc-tester-SERVER-172.24.1.4-id-0%JRaft-Common-Executor-2][AbstractClientService]
Fail to connect poc-tester-SERVER-172.24.1.2-id-0, exception:
io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused:
/172.24.1.2:3344.
2024-05-15 17:44:23:000 +0000
[ERROR][%poc-tester-SERVER-172.24.1.4-id-0%JRaft-Common-Executor-4][AbstractClientService]
Fail to connect poc-tester-SERVER-172.24.1.2-id-0, exception:
io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused:
/172.24.1.2:3344.
2024-05-15 17:44:23:021 +0000
[ERROR][%poc-tester-SERVER-172.24.1.4-id-0%JRaft-Common-Executor-7][AbstractClientService]
Fail to connect poc-tester-SERVER-172.24.1.2-id-0, exception:
io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused:
/172.24.1.2:3344.
2024-05-15 17:44:23:022 +0000
[WARNING][%poc-tester-SERVER-172.24.1.4-id-0%JRaft-AppendEntries-Processor-1][Replicator]
Fail to issue RPC to poc-tester-SERVER-172.24.1.2-id-0,
consecutiveErrorTimes=110, error=Status[EINTERNAL<1004>: Check
connection[poc-tester-SERVER-172.24.1.2-id-0] fail and try to create new one]
2024-05-15 17:44:23:122 +0000
[ERROR][%poc-tester-SERVER-172.24.1.4-id-0%JRaft-Common-Executor-1][AbstractClientService]
Fail to connect poc-tester-SERVER-172.24.1.2-id-0, exception:
io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused:
/172.24.1.2:3344.
2024-05-15 17:44:23:144 +0000
[ERROR][%poc-tester-SERVER-172.24.1.4-id-0%JRaft-Common-Executor-3][AbstractClientService]
Fail to connect poc-tester-SERVER-172.24.1.2-id-0, exception:
io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused:
/172.24.1.2:3344.
2024-05-15 17:44:23:244 +0000
[ERROR][%poc-tester-SERVER-172.24.1.4-id-0%JRaft-Common-Executor-2][AbstractClientService]
Fail to connect poc-tester-SERVER-172.24.1.2-id-0, exception:
io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused:
/172.24.1.2:3344.
2024-05-15 17:44:23:265 +0000
[ERROR][%poc-tester-SERVER-172.24.1.4-id-0%JRaft-Common-Executor-7][AbstractClientService]
Fail to connect poc-tester-SERVER-172.24.1.2-id-0, exception:
io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused:
/172.24.1.2:3344.
{noformat}
It makes server logs difficult to read.
> Connection refused exception contains 800 lines
> -----------------------------------------------
>
> Key: IGNITE-21537
> URL: https://issues.apache.org/jira/browse/IGNITE-21537
> Project: Ignite
> Issue Type: Improvement
> Components: clients
> Affects Versions: 3.0
> Reporter: Alexander Belyak
> Priority: Major
> Labels: ignite-3
> Attachments: reconnectException.txt
>
>
> # 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:
> {code:java}
> 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);
> }
> }
> }
> } {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)