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

[jira] [Created] (IGNITE-9558) Avoid changing AffinityTopologyVersion on client connect when possible

Alexey Goncharuk created IGNITE-9558:
----------------------------------------

             Summary: Avoid changing AffinityTopologyVersion on client connect when possible
                 Key: IGNITE-9558
                 URL: https://issues.apache.org/jira/browse/IGNITE-9558
             Project: Ignite
          Issue Type: Improvement
    Affects Versions: 2.0
            Reporter: Alexey Goncharuk


Currently a client join event changes discovery topology version which, in turn, changes AffinityTopologyVersion.
When a client maps transaction on new AffinityTopologyVersion, corresponding message is not processed on remote node until remote node receives the corresponding discovery event. If discovery event delivery is delayed for some reason, this will result in transaction stalls on client joins.

Since the client node does not change partition affinity, we can safely map transactions on the previous topology version and do not change the affinity topology version at all.
Some cases need special care and probably do not qualify for this optimization, such as when client has near cache or client hosts partition for REPLICATED cache.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)