[TRACKING ISSUE] Check for the minimum size of the bytes read only once per frame
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 25/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
調査の方向性
ClientMessageReader#readFrame から始め、意図された動作についてリンク先の Java PR を確認してください。最小サイズのチェックが各フレームの開始時に一度だけ行われ、最後の部分が 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時間
- マージ済み PR(30日)
- 2
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- 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
-
bug good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
aws-samples/sample-spec-driven-presentation-maker#648 ·
メンテナーはふだん 1 日以内に返信
-
firestore: enable live window.yaml pipeline system tests once add_window_fields is in productionオープン
難易度 1/5 1時間未満 初心者へのやさしさ 64/100
googleapis/google-cloud-python#19115 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
メンテナーはふだん 3 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Feyisara2108/stellargive#1377 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信