TiDB commits

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

TiDB commits on 2022-04-02

github.com

domain: use util.WaitGroupWrapper insteal of sync.WaitGroup by hawkingrei · Pull Request #33637 · pingcap/tidb · GitHub

sync.WaitGroupに代わってutil.WaitGroupWrapperを利用するように変更しています。

txn: fix `invalid transaction` error when doing stale read in RC isolation level by lcwangchao · Pull Request #33653 · pingcap/tidb · GitHub

isolationにREAD-COMMITTEDを利用時のstale readでinvalid transactionエラーが発生していたのを修正しています。

expression: fix the wrong rounding behavior of Decimal by gengliqi · Pull Request #33278 · pingcap/tidb · GitHub

Decimal型での丸めの動作が正しくなかったのを修正しています。

gomod: update ristretto and sarama to fix data race by hawkingrei · Pull Request #33652 · pingcap/tidb · GitHub

利用するGitHub - Shopify/sarama: Sarama is a Go library for Apache Kafka.GitHub - dgraph-io/ristretto: A high performance memory-bound Go cacheのバージョンを更新しています。

br: Fix unstable s3 test (again) by YuJuncen · Pull Request #33666 · pingcap/tidb · GitHub

br: Fix unstable s3 test (again) by YuJuncen · Pull Request #33666 · pingcap/tidb · GitHubでの修正が不十分だったのを修正しています。

planner: fix order by sub-query couldn't find outer correlated columns by AilinKid · Pull Request #33640 · pingcap/tidb · GitHub

ORDER BYにサブクエリーを指定した場合に、サブクエリー内でテーブルエイリアスがただしく参照できなかった問題を修正しています。

br: defer not in for-loop in the sendSplitRegionRequest by hawkingrei · Pull Request #33636 · pingcap/tidb · GitHub

BRでfor loop中にsendSplitRegionRequestをdeferしないように(?)変更しています。

planner: fix incorrect estCost displayed in explain results by qw4990 · Pull Request #33675 · pingcap/tidb · GitHub

explain でestCost列がただしく表示されていなかった問題を修正しています。

ddl: extract data reorg code to separate functions by tangenta · Pull Request #33679 · pingcap/tidb · GitHub

データの再編成で利用されるコードを分割しています。

*: improve TestColumnAdd for concurrency ddl by hawkingrei · Pull Request #33660 · pingcap/tidb · GitHub

TestColumnAddテストでの並列DDL実効性を高めています。

ddl: build sessPool even if RunWorker == false by wjhuang2016 · Pull Request #33677 · pingcap/tidb · GitHub

RunWorkerがsalseの場合でもsessPoolを構成するように変更しています。

util: migrate column-mapping and ddl-checker from tidb-tools to tidb by hawkingrei · Pull Request #33659 · pingcap/tidb · GitHub

migrate column-mapping と ddl-checker をtidb-tools から tidbに移動しています。

executor: migrate test-infra to testify for executor_test.go testResourceTagSuite by zanpocc · Pull Request #33603 · pingcap/tidb · GitHub

executor_test.goでのtestResourceTagSuiteをtest-infraからtestifyに移行しています。