TiDB commits

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

TiDB commits on 2022-03-23

github.com

tools/check/ut: support pattern matching on test names by tangenta · Pull Request #33020 · pingcap/tidb · GitHub

tools/bin/utコマンドで実行できるテスト名をパターンマッチングできるように変更しています。

parser/mysql, privilege/privileges: fix trigger privilege by morgo · Pull Request #32893 · pingcap/tidb · GitHub

TRIGGER権限をデータベースとテーブルレベルでgrantできるように変更しています。TiDBはトリガーをサポートしていないので、このSQLは実行できるだけで効果はありません。

ddl: remove race skip for test by hawkingrei · Pull Request #33324 · pingcap/tidb · GitHub

特定の条件(israce.RaceEnabled)でテストをスキップしていたのを削除しています。 improve code style of tidb · Issue #31716 · pingcap/tidb · GitHubで起票されているコードスタイル改善の一環とのこと。

executor: improve the way of getting table_id in the TestTiDBHotRegionsHistory by hawkingrei · Pull Request #33328 · pingcap/tidb · GitHub

TestTiDBHotRegionsHistoryでtable_idの取得方法を改善しています。

*: remove syncLog by wjhuang2016 · Pull Request #33306 · pingcap/tidb · GitHub

テストからSyncLogを削除しています。

ddl: rewrites some DDL tests by wjhuang2016 · Pull Request #33277 · pingcap/tidb · GitHub

一部のDDLテストを書き換えています。できるだけddl/ddl_test.goに移したり、エラーをモックするためにfailpointを利用したりしているとのこと。

br: fix race in test `Test(Split|Restore)Failed` by YuJuncen · Pull Request #33313 · pingcap/tidb · GitHub

テストでのレースコンディションをmutexを追加することで修正しています。

ddl: migrate test-infra to testify for tiflash_replica_test.go by tisonkun · Pull Request #33336 · pingcap/tidb · GitHub

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

ddl: migrate test-infra to testify for ddl.testSerialDBSuite by tisonkun · Pull Request #33343 · pingcap/tidb · GitHub

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

expression: increase table id to improve test by hawkingrei · Pull Request #33347 · pingcap/tidb · GitHub

テスト内でのtable_idの値を大きくしています。これもimprove code style of tidb · Issue #31716 · pingcap/tidb · GitHubの一環とのこと。

expression: make test TestPreparePlanCacheOnCachedTable more stable by tiancaiamao · Pull Request #33317 · pingcap/tidb · GitHub

UT unstable test case TestPreparePlanCacheOnCachedTable · Issue #33314 · pingcap/tidb · GitHubで報告されていたTestPreparePlanCacheOnCachedTableテストが不安定だったのをsleepをいれて対応しています。

*: update go1.18 for github action job by hawkingrei · Pull Request #33350 · pingcap/tidb · GitHub

GitHub Actions内で利用されていたGoのバージョンを1.18に更新しています。