Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-9558

Avoid changing AffinityTopologyVersion on client connect when possible

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0
    • 2.8
    • 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

          Activity

            People

              ilantukh Ilya Lantukh
              agoncharuk Alexey Goncharuk
              Votes:
              2 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: