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

Abierto
#635 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
20/100
Tipo de issue
Nueva funcionalidad
Claridad
Necesita aclaración
Estado de actividad
Estancado
Stack tecnológico
java, python
Área
api, networking

Línea de trabajo

Empieza leyendo el PR #24772 vinculado del lado de Java y compara su comportamiento de reconexión con el de este cliente de Python. El issue es un elemento de seguimiento más que un cambio de Python con un alcance definido; para completarlo habría que identificar una propiedad equivalente del lado del cliente y confirmar su comportamiento y sus pruebas.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
Python
Estrellas
115
Forks
78
Merge medio
2 d 23 h
PR fusionados (30 d)
2

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de hazelcast/hazelcast-python-client

Todos los issues de hazelcast/hazelcast-python-client

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.