You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Andrew Mashenkov (JIRA)" <ji...@apache.org> on 2018/08/09 10:03:00 UTC

[jira] [Created] (IGNITE-9241) TcpClusterNode.isClient semantic is broken.

Andrew Mashenkov created IGNITE-9241:
----------------------------------------

             Summary: 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
             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 [1]


 [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)