[TRACKING ISSUE] Check for the minimum size of the bytes read only once per frame
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 25/100
- Tipo di issue
- Bug
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Ambito
- distributed-systems
Direzione di ricerca
Inizia da ClientMessageReader#readFrame e esamina il Java PR collegato per il comportamento previsto. Conferma che il controllo della dimensione minima avvenga una volta all’inizio di ogni frame e che un frame suddiviso tra più letture, inclusa una parte finale inferiore a 6 byte, possa essere letto correttamente.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Python
- Stelle
- 115
- Fork
- 78
- Merge medio
- 2g 23h
- PR unite (30g)
- 2
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di hazelcast/hazelcast-python-client
-
Type: Test-Failure
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Type: Test-Failure
Difficoltà 3/5 1-2 giorni Idoneità per principianti 52/100
-
asyncio Type: Test-Failure
Difficoltà 4/5 3-5 giorni Idoneità per principianti 38/100
-
asyncio to-jira Type: Test-Failure
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
hazelcast/hazelcast-python-client#761 · 1 commento ·
-
asyncio to-jira Type: Test-Failure
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
hazelcast/hazelcast-python-client#760 · 1 commento ·
Tutte le issue di hazelcast/hazelcast-python-client
Issue simili
-
bug good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
aws-samples/sample-spec-driven-presentation-maker#648 ·
I maintainer di solito rispondono entro 1 giorno
-
firestore: enable live window.yaml pipeline system tests once add_window_fields is in productionAperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 64/100
googleapis/google-cloud-python#19115 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
I maintainer di solito rispondono entro 3 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
Feyisara2108/stellargive#1377 ·
I maintainer di solito rispondono entro 1 giorno
-
CRS WKT default to WKT2Apertaenhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
I maintainer di solito rispondono entro 1 giorno