TiDB commits

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

TiDB commits on 2022-04-13

github.com

executor: migrate test-infra to testify for testClusterTableSuite by tisonkun · Pull Request #33886 · pingcap/tidb · GitHub

testClusterTableSuiteをtest-infraからtestifyに移行しています。

sysvar: modify tidb_enable_historical_stats behavior by CbcWestwolf · Pull Request #31849 · pingcap/tidb · GitHub

システム変数tidb_enable_historical_statsの値の取得や設定をetcdから行うように変更しています。

executor: fix test fail in TestHashRowContainer by wshwsh12 · Pull Request #33895 · pingcap/tidb · GitHub

TestHashRowContainerでのテストを修正しています。

dumpling: remove useless code by hawkingrei · Pull Request #33879 · pingcap/tidb · GitHub

不要となったDumpling関連のファイルを削除しています。

executor: migrate test-infra to testify for testSuiteWithCliBaseCharset by tisonkun · Pull Request #33899 · pingcap/tidb · GitHub

testSuiteWithCliBaseCharsetをtest-infraからtestifyに移行しています。

planner: fix wrong row-sizes used in cost model by qw4990 · Pull Request #33845 · pingcap/tidb · GitHub

プランナーのコスト計算で行のサイズの見積もりに誤りがあったのを修正しています。

*: Auto refresh PD addrs for `PDPlacementManager`, `PDLabelManager`, `TiFlashPDPlacementManager` by lcwangchao · Pull Request #33909 · pingcap/tidb · GitHub

PD(Placement Driver)で新しいPDメンバーを追加し、その後既存のPDメンバーをすべて削除した場合にアドレスの自動リフレッシュを行うように修正しています。

infosync: improve error log for http client by hawkingrei · Pull Request #33901 · pingcap/tidb · GitHub

http clientでのエラーログ生成の改善を行っています。

executor: migrate test-infra to testify for testSerialSuite by tisonkun · Pull Request #33911 · pingcap/tidb · GitHub

testSerialSuiteをtest-infraからtestifyに移行しています。

session, statistics, util: fix data race of Handle.mu.ctx by xuyifangreeneyes · Pull Request #33732 · pingcap/tidb · GitHub

Handle.mu.ctxで発生するレースコンディションを修正しています。

executor: fix unstable test of `TestTimestampDefaultValueTimeZone` by zimulala · Pull Request #33926 · pingcap/tidb · GitHub

TestTimestampDefaultValueTimeZoneの不安定なテストを現在時刻にnow()を利用する代わりに実際の値を利用することで対応しています。

metrics: add the missing help message for the forwarded status by rleungx · Pull Request #33927 · pingcap/tidb · GitHub

Grafanaで表示されるために、forwarded statusに関するメッセージを追加しています。

topsql: fix admin check/cleanup/recover statement doesn't set tag for RPC request by crazycs520 · Pull Request #33869 · pingcap/tidb · GitHub

TopSQLで利用するためadmin checkadmin cleanupadmin recoverにタグを追加しています。

topsql: make TestPProfCPUProfile test stable by crazycs520 · Pull Request #33810 · pingcap/tidb · GitHub

不安定なTestPProfCPUProfileテストを修正しています。

planner: remove task argument from IndexHashJoin.GetCost and IndexMergeJoin.GetCost by qw4990 · Pull Request #33935 · pingcap/tidb · GitHub

IndexHashJoin.GetCostとIndexMergeJoin.GetCostからtaskという引数を削除し、他のオペレーターとの形式を合わせています。

lightning: fix panic due to row's column exceeds definition by buchuitoudegou · Pull Request #33767 · pingcap/tidb · GitHub

Lightningで実際のカラムサイズ以上の値を指定した場合にpanicが発生した問題を修正しています。

*: Add grafana for PD http api request duration by lcwangchao · Pull Request #33917 · pingcap/tidb · GitHub

Grafana用にPDのhttp api request durationを追加しています。

domain: sync the access of InfoSyncer.SessionManager by tangenta · Pull Request #33924 · pingcap/tidb · GitHub

InfoSyncer.SessionManagerへのアクセスをsynchornizeさせています。

ddl: support specifying expr uuid() as column default value. by CbcWestwolf · Pull Request #33871 · pingcap/tidb · GitHub

uuid()をカラムのデフォルト値として追加できるようにしています。MySQL 8.0との互換性確保の一つです。