[TRACKING ISSUE] Check for the minimum size of the bytes read only once per frame
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Anfängerfreundlichkeit
- 25/100
- Issue-Typ
- Bug
- Klarheit
- Muss geklärt werden
- Aktivitätsstatus
- Veraltet
- Bereich
- distributed-systems
Rechercherichtung
Beginne bei ClientMessageReader#readFrame und prüfe den verlinkten Java PR auf das vorgesehene Verhalten. Bestätige, dass die Prüfung der Mindestgröße einmal am Anfang jedes Frames erfolgt und dass ein Frame, der sich über mehrere Lesevorgänge erstreckt, einschließlich eines letzten Teils mit weniger als 6 Bytes, erfolgreich gelesen werden kann.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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.
- Vorherrschende Sprache
- Python
- Sterne
- 115
- Forks
- 78
- Ø Merge
- 2 T. 23 Std.
- Gemergte PRs (30 T.)
- 2
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus hazelcast/hazelcast-python-client
-
Type: Test-Failure
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
-
Type: Test-Failure
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 52/100
-
asyncio Type: Test-Failure
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 38/100
-
asyncio to-jira Type: Test-Failure
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 35/100
hazelcast/hazelcast-python-client#761 · 1 Kommentar ·
-
asyncio to-jira Type: Test-Failure
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 35/100
hazelcast/hazelcast-python-client#760 · 1 Kommentar ·
Alle Issues in hazelcast/hazelcast-python-client
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
marketcalls/openalgo#2472 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 95/100
marimo-team/marimo#11949 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug server-time v2
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
modelcontextprotocol/servers#5559 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
jxxghp/MoviePilot#7449 ·
Maintainer antworten meist innerhalb von 1 Tag
-
devops help wanted
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
guaardvark/guaardvark#421 ·
Maintainer antworten meist innerhalb von 2 Tagen