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)

Reply via email to