int32 need to be changed to uint32

オープン
#3,267 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
48/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
go
領域
networking

調査の方向性

DestinationRule API の定義と、issue でリンクされている生成ファイル networking/v1alpha3/destination_rule.pb.go から始めます。デフォルト値が 2^32-1 である HTTP および TCP のコネクションプールフィールドを特定し、宣言された型と生成元を確認します。関連するフィールドが uint32 を使用し、API の生成アーティファクトに一貫性があれば完了です。

索引モデルが issue の本文から書いたものです。

説明

area/networking

(NOTE: This is used to report product bugs:
To report a security vulnerability, please visit https://istio.io/about/security-vulnerabilities/
To ask questions about how to use Istio, please visit https://discuss.istio.io
)

Bug description
image
As above, there are some fields in both http and tcp connection pool in DestinationRule which value default to 2^32-1,but the field type is int32。Maybe type of those fields should be changed to uint32 ?

The file is here:
https://github.com/istio/api/blob/master/networking/v1alpha3/destination_rule.pb.go

Affected product area (please put an X in all that apply)

[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[X ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience

Expected behavior
change the type of relative fields to uint32
Steps to reproduce the bug

Version (include the output of istioctl version --remote and kubectl version)

How was Istio installed?

Environment where bug was observed (cloud vendor, OS, etc)

Additionally, please consider attaching a cluster state archive by attaching
the dump file to this issue.

主要言語
Go
スター
523
フォーク
623
平均マージ
5日 20時間
マージ済み PR(30日)
4

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

istio/api のほかの issue

istio/api の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。