[TRACKING ISSUE] Check for the minimum size of the bytes read only once per frame
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 25/100
- Tipo de issue
- Error
- Claridad
- Necesita aclaración
- Estado de actividad
- Estancado
- Área
- distributed-systems
Línea de trabajo
Comienza en ClientMessageReader#readFrame y revisa el Java PR enlazado para conocer el comportamiento previsto. Confirma que la comprobación del tamaño mínimo se realiza una vez al principio de cada frame y que un frame dividido entre varias lecturas, incluida una parte final de menos de 6 bytes, puede leerse correctamente.
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/21502 for details.
Before this fix, while reading a message frame, we were mistakenly
checking that the bytes we haven't read yet are less than 6 bytes
each time the ClientMessageReader#readFrame is called.
This is problematic for frames that are read in multiple calls,
as the size of the last piece of the frame we are reading might be
actually less than 6 bytes and that is definitely valid. However,
in that case, we were not able to read the remaining part and
continue.
This PR aims to fix this problem by having that check only at the
beginning for each frame, only once per frame. Once we read the frame
length and flags, we will be able to read any number of bytes no
matter how small it is.
- Lenguaje dominante
- Python
- Estrellas
- 115
- Forks
- 78
- Merge medio
- 2 d 23 h
- PR fusionados (30 d)
- 2
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-python-client
-
Type: Test-Failure
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
-
Type: Test-Failure
Dificultad 3/5 1-2 días Aptitud para principiantes 52/100
-
asyncio Type: Test-Failure
Dificultad 4/5 3-5 días Aptitud para principiantes 38/100
-
asyncio to-jira Type: Test-Failure
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
hazelcast/hazelcast-python-client#761 · 1 comentario ·
-
asyncio to-jira Type: Test-Failure
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
hazelcast/hazelcast-python-client#760 · 1 comentario ·
Todos los issues de hazelcast/hazelcast-python-client
Issues similares
-
bug good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
aws-samples/sample-spec-driven-presentation-maker#648 ·
Los mantenedores suelen responder en 1 día
-
firestore: enable live window.yaml pipeline system tests once add_window_fields is in productionAbierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 64/100
googleapis/google-cloud-python#19115 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 80/100
Los mantenedores suelen responder en 3 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Feyisara2108/stellargive#1377 ·
Los mantenedores suelen responder en 1 día
-
CRS WKT default to WKT2Abiertoenhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Los mantenedores suelen responder en 1 día