Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.0
-
None
-
None
Description
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.
Attachments
Issue Links
- causes
-
IGNITE-11625 AffinityTopologyVersion should be changed on client connect when this client node has new statically configured cache(s).
- Resolved
- links to