TiDB commits

TiDB, PD, TiKVのコミットを記録しています。

TiDB commits on 2022-03-29

github.com

Makefile: add ut to 'make dev' by tangenta · Pull Request #33506 · pingcap/tidb · GitHub

make devコマンドを実行するとユニットテストも実行されるようにしています。

util: migrate test-infra to testify for selector_test.go by zanpocc · Pull Request #33505 · pingcap/tidb · GitHub

selector_test.goのテストをtest-infraからtestifyに移行しています。

executor: Enhance `task` field for `explain/explain analyze` by windtalker · Pull Request #33333 · pingcap/tidb · GitHub

explainとexplain analyzeコマンドで表示されるtask列にmppタイプを追加しています。

store: avoid setting ratelimit action in tracker when disabled by Yisaer · Pull Request #31110 · pingcap/tidb · GitHub

tidb_enable_rate_limit_actionが無効であっても、レートリミットアクションがメモリートラッカーに設定され、性能に影響していた事象を修正しています。

*: update client-go by youjiali1995 · Pull Request #33539 · pingcap/tidb · GitHub

利用するclient-goのバージョンを更新しています。

planner: restrict plan cache for decimal parameter types by Reminiscent · Pull Request #31769 · pingcap/tidb · GitHub

Decimal型を利用する場合のplan cacheをFlenとDecimalの両方がキャッシュされている値より小さい場合のみ利用するように変更しています。

tidb-binlog/node: migrate tests to testify by disksing · Pull Request #33540 · pingcap/tidb · GitHub

tidb-binlog/nodeのテストをtestifyに移行しています。

expression: fix append to result twice when vecEval compress('') by UBarney · Pull Request #33523 · pingcap/tidb · GitHub

vecEvalが空文字を圧縮するときに結果を2回追加していた問題を修正しています。

domain: adjust the order of acquireServerID and GlobalInfoSyncerInit to fix global kill test by xuyifangreeneyes · Pull Request #33536 · pingcap/tidb · GitHub

executor: support global kill by pingyu · Pull Request #17649 · pingcap/tidb · GitHubで導入されたglobal kill(server idとlocal unique connection idの組み合わせ)で、 domain: adjust initialization sequence of domain-reload and ddl-start to avoid infoCache nil by AilinKid · Pull Request #28945 · pingcap/tidb · GitHubで変更された順序を、まず最初にserver idを取得し、次にconnecition idを取得するように戻しています。

variable: make backoff weight could be 0 by jackysp · Pull Request #30664 · pingcap/tidb · GitHub

tidb_backoff_weightの値に0をとれるようにし、バックオフではなく即座にエラーを返す場合に対応しています。

ddl: refactor adjustColumnInfoInAddColumn for multi-schema change by tangenta · Pull Request #32820 · pingcap/tidb · GitHub

adjustColumnInfoInAddColumn をmulti-schema changeに対応させています。従来はカラムの最後に追加していたものが、複数の変更が同時に入る場合にはかならずそうとはいえなくなったためとのこと。

lightning: auto resume from recoverable error by buchuitoudegou · Pull Request #33510 · pingcap/tidb · GitHub

Lightningでチェックポイントを書き込む前に復旧可能なエラーを無視するようにしています。

util: fix GetTimeZoneOffset error when migrating repo by lance6716 · Pull Request #33562 · pingcap/tidb · GitHub

GetTimeZoneOffsetのエラーを修正しています。