[TRACKING ISSUE] Check for the minimum size of the bytes read only once per frame
還沒有人認領這個 Issue。
評估
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 新手友好度
- 25/100
- Issue 類型
- 缺陷
- 描述清晰度
- 需要釐清
- 活躍度
- 停滯
研究方向
從 ClientMessageReader#readFrame 開始,並查看連結的 Java PR 以了解預期行為。確認最小大小檢查在每個 frame 開始時執行一次,並且跨多次讀取的 frame(包括最後一部分小於 6 位元組)可以成功讀取。
由索引模型根據 Issue 內容生成。
描述
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.
- 主要語言
- Python
- 星號
- 115
- 分支
- 78
- 平均合併
- 2 天 23 小時
- 30 天內合併 PR
- 2
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 沒有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
hazelcast/hazelcast-python-client 的其他 Issue
-
Type: Test-Failure
難度 2/5 1-3 小時 新手友好度 72/100
-
Type: Test-Failure
難度 3/5 1-2 天 新手友好度 52/100
-
asyncio Type: Test-Failure
難度 4/5 3-5 天 新手友好度 38/100
-
asyncio to-jira Type: Test-Failure
難度 4/5 3-5 天 新手友好度 35/100
hazelcast/hazelcast-python-client#761 · 1 則留言 ·
-
asyncio to-jira Type: Test-Failure
難度 4/5 3-5 天 新手友好度 35/100
hazelcast/hazelcast-python-client#760 · 1 則留言 ·
查看 hazelcast/hazelcast-python-client 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 78/100
marketcalls/openalgo#2472 ·
維護者通常 1 天內回覆
-
難度 1/5 1 小時以內 新手友好度 95/100
marimo-team/marimo#11949 ·
維護者通常 1 天內回覆
-
bug server-time v2
難度 2/5 1-3 小時 新手友好度 76/100
modelcontextprotocol/servers#5559 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 68/100
jxxghp/MoviePilot#7449 ·
維護者通常 1 天內回覆
-
devops help wanted
難度 2/5 1-3 小時 新手友好度 72/100
guaardvark/guaardvark#421 ·
維護者通常 2 天內回覆