[
https://issues.apache.org/jira/browse/IGNITE-9241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Mashenkov updated IGNITE-9241:
-------------------------------------
Description:
For now TcpClusterNode.isClient() cal return false is client mode is started
with forced server mode.
ServerMode is feature of TcpClusterNode (concrete implementation of
ClusterNode).
We should fix isClient semantic e.g. to use node attributes and introduce
separate internal isRingNode() as a part of concrete implementation (not
interface) that can be used in TcpDiscoverySpi.
Also, seems forceServerMode should be deprecated and ticket for removal should
be created. See also [1] discussion on dev list.
[1]
[http://apache-ignite-developers.2346864.n4.nabble.com/Deprecate-force-server-mode-for-clients-td33614.html]
was:
For now TcpClusterNode.isClient() cal return false is client mode is started
with forced server mode.
ServerMode is feature of TcpClusterNode (concrete implementation of
ClusterNode).
We should fix isClient semantic e.g. to use node attributes and introduce
separate internal isRingNode() as a part of concrete implementation (not
interface) that can be used in TcpDiscoverySpi.
Also, seems forceServerMode should be deprecated [1]
[1]
http://apache-ignite-developers.2346864.n4.nabble.com/Deprecate-force-server-mode-for-clients-td33614.html
> TcpClusterNode.isClient semantic is broken.
> -------------------------------------------
>
> Key: IGNITE-9241
> URL: https://issues.apache.org/jira/browse/IGNITE-9241
> Project: Ignite
> Issue Type: Bug
> Reporter: Andrew Mashenkov
> Priority: Major
> Fix For: 2.7
>
>
> For now TcpClusterNode.isClient() cal return false is client mode is started
> with forced server mode.
> ServerMode is feature of TcpClusterNode (concrete implementation of
> ClusterNode).
> We should fix isClient semantic e.g. to use node attributes and introduce
> separate internal isRingNode() as a part of concrete implementation (not
> interface) that can be used in TcpDiscoverySpi.
> Also, seems forceServerMode should be deprecated and ticket for removal
> should be created. See also [1] discussion on dev list.
> [1]
> [http://apache-ignite-developers.2346864.n4.nabble.com/Deprecate-force-server-mode-for-clients-td33614.html]
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)