[TRACKING ISSUE] Do not try to connect to the old member list after the cluster changes [API-2038]
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 15/100
- Tipo de issue
- Error
- Claridad
- Necesita aclaración
- Estado de actividad
- Estancado
- Área
- distributed-systems
Línea de trabajo
Este es un issue de seguimiento para el PR 24745 del lado de Java, no un cambio aislado en el cliente C++. Lee el pull request enlazado y la lógica descrita de restablecimiento y conexión de cluster-service; se considera terminado cuando el cliente omite la lista de miembros del clúster anterior después del failover.
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/24745 for details.
During failover, when the client is about to try to connect to the next cluster, it resets some services including the cluster service.
In its reset logic, cluster service clears the member list version, but leaves the members as it is, as there are some services/proxies that rely on the fact that the member list cannot be empty.
This creates a problem for the failover case. After the cluster change, the client still tries to connect to the last known member list, which is the members of the previous cluster.
To solve the problem, I have introduced a new method to the cluster service, which returns the "effective" member list. That is, it returns an empty list after the service is reset, but returns the member list as expected otherwise. With that, the connection logic simply skips the old member list after the client decides to change the cluster to try to connect to.
- Lenguaje dominante
- C++
- Estrellas
- 90
- Forks
- 54
- Merge medio
- 2 d 24 min
- PR fusionados (30 d)
- 1
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de hazelcast/hazelcast-cpp-client
-
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
hazelcast/hazelcast-cpp-client#1496 ·
-
Type: Enhancement
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
hazelcast/hazelcast-cpp-client#1417 ·
-
to-jira Type: Enhancement
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
hazelcast/hazelcast-cpp-client#1327 · 1 comentario ·
-
to-jira Type: Enhancement
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
hazelcast/hazelcast-cpp-client#1317 · 1 comentario ·
-
to-jira Type: Enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 52/100
hazelcast/hazelcast-cpp-client#1316 · 1 comentario ·
Todos los issues de hazelcast/hazelcast-cpp-client
Issues similares
-
agent:Windows bug parity performance pri:medium sev:low tooling windows
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
ai_p2
Dificultad 2/5 1-3 horas Aptitud para principiantes 80/100
ClickHouse/ClickHouse#132519 ·
Los mantenedores suelen responder en 1 día
-
patch_advisor_json_integration fails when the build tree is reached through a symbolic linkPosiblemente ocupada @DerKarussellbremser la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
boykopovar/AnyPS5#22581 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
BlueQuartzSoftware/simplnx#1987 ·
Los mantenedores suelen responder en 6 días