[ 
https://issues.apache.org/jira/browse/IGNITE-22573?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ilya Shishkov updated IGNITE-22573:
-----------------------------------
    Description: 
{{IpFinderCleaner}} periodically calls {{ServerImpl#pingNode(InetSocketAddress, 
UUID, UUID)}} [1] in order to ping addresses, registered in IpFinder. But, it 
causes excessive and useless warnings in server log [2], eg.:

{code}
[2024-06-14T12:26:33,978][WARN 
][tcp-disco-ip-finder-cleaner-#5-#61][TcpDiscoverySpi] Failed to ping node 
[nodeId=null]. Reached the timeout 10000ms. Cause: Connection refused 
(Connection refused)
[2024-06-14T12:26:33,979][WARN 
][tcp-disco-ip-finder-cleaner-#5-#61][TcpDiscoverySpi] Failed to ping node 
[nodeId=null]. Reached the timeout 10000ms. Cause: Connection refused 
(Connection refused)
[2024-06-14T12:26:33,979][WARN 
][tcp-disco-ip-finder-cleaner-#5-#61][TcpDiscoverySpi] Failed to ping node 
[nodeId=null]. Reached the timeout 10000ms. Cause: Connection refused 
(Connection refused)
[2024-06-14T12:26:33,979][WARN 
][tcp-disco-ip-finder-cleaner-#5-#61][TcpDiscoverySpi] Failed to ping node 
[nodeId=null]. Reached the timeout 10000ms. Cause: Connection refused 
(Connection refused)
[2024-06-14T12:26:33,980][WARN 
][tcp-disco-ip-finder-cleaner-#5-#61][TcpDiscoverySpi] Failed to ping node 
[nodeId=null]. Reached the timeout 10000ms. Cause: Connection refused 
(Connection refused)
[2024-06-14T12:26:33,980][WARN 
][tcp-disco-ip-finder-cleaner-#5-#61][TcpDiscoverySpi] Failed to ping node 
[nodeId=null]. Reached the timeout 10000ms. Cause: Connection refused 
(Connection refused)
[2024-06-14T12:26:33,981][WARN 
][tcp-disco-ip-finder-cleaner-#5-#61][TcpDiscoverySpi] Failed to ping node 
[nodeId=null]. Reached the timeout 10000ms. Cause: Connection refused 
(Connection refused)
[2024-06-14T12:26:33,981][WARN 
][tcp-disco-ip-finder-cleaner-#5-#61][TcpDiscoverySpi] Failed to ping node 
[nodeId=null]. Reached the timeout 10000ms. Cause: Connection refused 
(Connection refused)
[2024-06-14T12:26:33,981][WARN 
][tcp-disco-ip-finder-cleaner-#5-#61][TcpDiscoverySpi] Failed to ping node 
[nodeId=null]. Reached the timeout 10000ms. Cause: Connection refused 
(Connection refused)
{code}

It would be useful to add address and change {{WARN}} level to {{INFO}} or even 
{{DEBUG}} to such output of {{IpFinderCleaner}}.

# 
https://github.com/apache/ignite/blob/ac4319768bb6013aa401f5553d1b39de82e9751e/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/ServerImpl.java#L2289
# 
https://github.com/apache/ignite/blob/ac4319768bb6013aa401f5553d1b39de82e9751e/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/ServerImpl.java#L936

  was:
{{IpFinderCleaner}} periodically calls {{ServerImpl#pingNode(InetSocketAddress, 
UUID, UUID)}} [1] in order to ping addresses, registered in IpFinder. But, it 
causes excessive and useless warnings in server log [2], eg.:

{code}
[2024-06-14T12:26:33,978][WARN 
][tcp-disco-ip-finder-cleaner-#5-#61][TcpDiscoverySpi] Failed to ping node 
[nodeId=null]. Reached the timeout 10000ms. Cause: Connection refused 
(Connection refused)
{code}

It would be useful to add address and change {{WARN}} level to {{INFO}} or even 
{{DEBUG}} to such output of {{IpFinderCleaner}}.

# 
https://github.com/apache/ignite/blob/ac4319768bb6013aa401f5553d1b39de82e9751e/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/ServerImpl.java#L2289
# 
https://github.com/apache/ignite/blob/ac4319768bb6013aa401f5553d1b39de82e9751e/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/ServerImpl.java#L936


> Fix warnings of IpFinderCleaner
> -------------------------------
>
>                 Key: IGNITE-22573
>                 URL: https://issues.apache.org/jira/browse/IGNITE-22573
>             Project: Ignite
>          Issue Type: Task
>            Reporter: Ilya Shishkov
>            Priority: Minor
>              Labels: ise
>
> {{IpFinderCleaner}} periodically calls 
> {{ServerImpl#pingNode(InetSocketAddress, UUID, UUID)}} [1] in order to ping 
> addresses, registered in IpFinder. But, it causes excessive and useless 
> warnings in server log [2], eg.:
> {code}
> [2024-06-14T12:26:33,978][WARN 
> ][tcp-disco-ip-finder-cleaner-#5-#61][TcpDiscoverySpi] Failed to ping node 
> [nodeId=null]. Reached the timeout 10000ms. Cause: Connection refused 
> (Connection refused)
> [2024-06-14T12:26:33,979][WARN 
> ][tcp-disco-ip-finder-cleaner-#5-#61][TcpDiscoverySpi] Failed to ping node 
> [nodeId=null]. Reached the timeout 10000ms. Cause: Connection refused 
> (Connection refused)
> [2024-06-14T12:26:33,979][WARN 
> ][tcp-disco-ip-finder-cleaner-#5-#61][TcpDiscoverySpi] Failed to ping node 
> [nodeId=null]. Reached the timeout 10000ms. Cause: Connection refused 
> (Connection refused)
> [2024-06-14T12:26:33,979][WARN 
> ][tcp-disco-ip-finder-cleaner-#5-#61][TcpDiscoverySpi] Failed to ping node 
> [nodeId=null]. Reached the timeout 10000ms. Cause: Connection refused 
> (Connection refused)
> [2024-06-14T12:26:33,980][WARN 
> ][tcp-disco-ip-finder-cleaner-#5-#61][TcpDiscoverySpi] Failed to ping node 
> [nodeId=null]. Reached the timeout 10000ms. Cause: Connection refused 
> (Connection refused)
> [2024-06-14T12:26:33,980][WARN 
> ][tcp-disco-ip-finder-cleaner-#5-#61][TcpDiscoverySpi] Failed to ping node 
> [nodeId=null]. Reached the timeout 10000ms. Cause: Connection refused 
> (Connection refused)
> [2024-06-14T12:26:33,981][WARN 
> ][tcp-disco-ip-finder-cleaner-#5-#61][TcpDiscoverySpi] Failed to ping node 
> [nodeId=null]. Reached the timeout 10000ms. Cause: Connection refused 
> (Connection refused)
> [2024-06-14T12:26:33,981][WARN 
> ][tcp-disco-ip-finder-cleaner-#5-#61][TcpDiscoverySpi] Failed to ping node 
> [nodeId=null]. Reached the timeout 10000ms. Cause: Connection refused 
> (Connection refused)
> [2024-06-14T12:26:33,981][WARN 
> ][tcp-disco-ip-finder-cleaner-#5-#61][TcpDiscoverySpi] Failed to ping node 
> [nodeId=null]. Reached the timeout 10000ms. Cause: Connection refused 
> (Connection refused)
> {code}
> It would be useful to add address and change {{WARN}} level to {{INFO}} or 
> even {{DEBUG}} to such output of {{IpFinderCleaner}}.
> # 
> https://github.com/apache/ignite/blob/ac4319768bb6013aa401f5553d1b39de82e9751e/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/ServerImpl.java#L2289
> # 
> https://github.com/apache/ignite/blob/ac4319768bb6013aa401f5553d1b39de82e9751e/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/ServerImpl.java#L936



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to