Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[Rust-dataplane] Rust greeting collation must be TiDB parser DefaultCollationID (46)

オープン 初心者向け
#1,345 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

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

評価

難易度
1/5
見積もり時間
1時間未満
初心者へのやさしさ
82/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
go, rust
領域
backend

調査の方向性

rust/crates/dataplane/src/session_engine.rs の4106行目付近にある send_greeting の呼び出しを開き、collation の値を pkg/proxy/net/mysql.go の Go の参照実装および TiDB の DefaultCollationID と照合してください。Rust の greeting が 46 を通知するように更新し、その後、greeting がその値を報告し、指定されたローカルの証拠実行が成功することを確認してください。

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

説明

migration:bb7133-tiproxy

Migrated from bb7133/tiproxy#181. Original author: wjhuang2016; created: 2026-09-02T12:42:44Z; source body SHA-256: 59549f1a1489517da5635587fb280902ae14d282ab22ac763bc074db147cd82a.

Rust dataplane rewrite parity/functional RED
  • Snapshot commit: 60efdf5e6e8226423df85033534ad748ccb129db
  • Run: run.tiproxy-rust-dataplane.greeting-default-collation.20260902.RED
Problem

Go pnet.Collation = mysql.DefaultCollationID from TiDB parser (=46). Rust session_engine.rs send_greeting passes collation 45.

Claim

Rust proxy greeting must advertise collation 46, matching Go/TiDB parser.

Source anchors
  • pkg/proxy/net/mysql.go Collation=mysql.DefaultCollationID
  • TiDB parser mysql.DefaultCollationID=46
  • rust/crates/dataplane/src/session_engine.rs:4106 send_greeting collation 45
Boundary
  • Before: Rust greeting collation is 45
  • After: Go greeting collation is 46
Local evidence
  • run.tiproxy-rust-dataplane.greeting-default-collation.20260902.RED
主要言語
Go
スター
73
フォーク
40
平均マージ
4時間 14分
マージ済み PR(30日)
9

環境構築

はじめの一歩

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

pingcap/tiproxy のほかの issue

pingcap/tiproxy の issue をすべて見る

似ている issue

Go の issue をもっと見る

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

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