hazelcast / hazelcast/hazelcast-python-client

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

Aperta
#635 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
116
Fork
78
Merge medio
10g 22h
PR unite (30g)
1

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia leggendo la PR #24772 collegata lato Java e confronta il suo comportamento di riconnessione con quello di questo client Python. L’issue è un elemento di tracciamento più che una modifica Python con ambito definito; per completarla sarebbe necessario identificare una proprietà equivalente lato client e confermarne il comportamento e i test.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
java, python
Ambito
api, networking
Tipo di issue
Funzionalità
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
20/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.