[
https://issues.apache.org/jira/browse/IGNITE-25088?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Roman Puchkovskiy updated IGNITE-25088:
---------------------------------------
Description:
AbstractClientService#connectAsync() throws IllegalStateException("Client
service is uninitialized.") when it's already shut down. This makes the callers
handle the exception somehow; they usually just log it, which clutters logs
with a useless ERROR looking pretty scary.
Instead, we should just return false to signal that the connection wasn't
successful. There is a mechanism to handle this gracefully.
> connectAsync() throws an exception when already stopped
> -------------------------------------------------------
>
> Key: IGNITE-25088
> URL: https://issues.apache.org/jira/browse/IGNITE-25088
> Project: Ignite
> Issue Type: Bug
> Reporter: Roman Puchkovskiy
> Assignee: Roman Puchkovskiy
> Priority: Major
> Labels: ignite-3
> Time Spent: 10m
> Remaining Estimate: 0h
>
> AbstractClientService#connectAsync() throws IllegalStateException("Client
> service is uninitialized.") when it's already shut down. This makes the
> callers handle the exception somehow; they usually just log it, which
> clutters logs with a useless ERROR looking pretty scary.
> Instead, we should just return false to signal that the connection wasn't
> successful. There is a mechanism to handle this gracefully.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)