[TRACKING ISSUE] Introduce a property to control the reconnection behavior of the client [API-2036]

Ouverte
#635 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

Évaluation

Difficulté
4/5
Temps estimé
3-5 jours
Accessibilité débutants
20/100
Type d'issue
Fonctionnalité
Clarté
À clarifier
Activité
À l'abandon
Stack technique
java, python
Domaine
api, networking

Piste de recherche

Commencez par lire la PR #24772 liée côté Java et comparez son comportement de reconnexion avec celui de ce client Python. L’issue est un élément de suivi plutôt qu’une modification Python délimitée ; sa réalisation nécessiterait d’identifier une propriété équivalente côté client et de confirmer son comportement ainsi que ses tests.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

The tracking issue for the Java side PR.

See https://github.com/hazelcast/hazelcast/pull/24772 for details.


During reconnections, the client would normally try to connect to the last known member list, and then try the configured member addresses.

This logic is fine for most of the use cases, but for some users who expose their multi-member clusters via a single load balancer or node port, this might not be what we want. In their use cases, cluster members are not accessible from the client directly, the connection has to be established by the service in front of the cluster members.

For such scenarios, not trying to connect to the members from the last known member list is probably what we want.

We decided not to change the default behavior, or be smart and try to detect such cases. Instead, we decided to introduce a private property for now, and share that with the customer that wants this feature. In the future, depending on the feedback and our own discussions, we might promote this to a public property as well.

Langage dominant
Python
Étoiles
115
Forks
78
Merge moyen
2 j 23 h
PR mergées (30 j)
2

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de hazelcast/hazelcast-python-client

Toutes les issues de hazelcast/hazelcast-python-client

Issues similaires

Plus d'issues Python

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.