TiDB commits

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

TiDB commits on 2022-03-16

github.com

util: fix unstable test in the TestNotifyErrorWaitGroupWrapper by hawkingrei · Pull Request #33063 · pingcap/tidb · GitHub

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

sessionctx: make builtinFunctionUsage thread safe by Yisaer · Pull Request #33032 · pingcap/tidb · GitHub

builtinFunctionUsage をスレッドセーフに変更しています。

executor: set kvRanges in table_reader when batch_cop=2 for partition table by windtalker · Pull Request #33112 · pingcap/tidb · GitHub

パーティションテーブル用に、batch_cop=2の場合にtable_readerでkvRangesを設定しています。

sysvar: add INSTANCE scope for system variable by CbcWestwolf · Pull Request #32888 · pingcap/tidb · GitHub

システム変数にINSTANCEスコープを追加しています。

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

ddl.testDBSuite4用のテストをtest-infraからtestify に変更しています。

executor: fix wrong result of delete multiple tables using left join by guo-shaoge · Pull Request #33055 · pingcap/tidb · GitHub

left joinを利用して複数のテーブルにdeleteを実行したときの結果不整合を修正しています。

expression, types: use time.Add() to calculate subtime by Defined2014 · Pull Request #32903 · pingcap/tidb · GitHub

time.sub()の代わりにtime.add()を利用して290年以上の期間が空いたときに発生した問題を修正しています。

mpp: throw an err when mpp generate empty table scan task list by SeaRise · Pull Request #33084 · pingcap/tidb · GitHub

MPP(TiFlashの一部)が空のテーブルスキャンタスクリストを生成したときにエラーを発生させるようにしています。MPPが空のテーブルスキャンタスクリストに対応できないためのTiDB側での暫定的な対応とのこと。

bindinfo: support disabled status for binding by Reminiscent · Pull Request #32819 · pingcap/tidb · GitHub

bindingを無効にするコマンドset binding disabledを追加しています。

query CLUSTER_STATEMENTS_SUMMARY table meet error: [expression:1305]FUNCTION RegexpUTF8Sig does not exist · Issue #32783 · pingcap/tidb · GitHub

CLUSTER_STATEMENTS_SUMMARYを検索した際に発生する[expression:1305]FUNCTION RegexpUTF8Sigエラーを修正しています。

gc_worker: Fix redundantly delete placement rules after dropping database by MyonKeminta · Pull Request #33082 · pingcap/tidb · GitHub

データベースを削除した後にplacement rulesを冗長に削除していた問題を修正しています。

lightning: revert custom gRPC resolver by gozssky · Pull Request #33115 · pingcap/tidb · GitHub

Lightning用にlightning: tolerate tikv node address changes during importing by gozssky · Pull Request #32876 · pingcap/tidb · GitHubで実施したカスタムgRPCリゾルバーの利用をrevertしています。TLSの設定を正しく利用しないためとのこと。

lightning: tolerate tikv node address changes during importing by gozssky · Pull Request #32876 · pingcap/tidb · GitHub

Lightning用にリトライと空のテーブルをチェックする処理での早期終了(early terminate)を追加しています。

statistics: fix load stat for new collation column by wjhuang2016 · Pull Request #33146 · pingcap/tidb · GitHub

新しい照合順序が利用されたカラムでsortKeyの長さが実際のカラムの長さより長い問題を修正しています。

expression: support pushdown dayofweek and dayofyear to tiflash by gengliqi · Pull Request #33131 · pingcap/tidb · GitHub

dayofweekとdayofyear をTiFlashにpushdownしています。

br: Consider partition table's placement for br by lcwangchao · Pull Request #33139 · pingcap/tidb · GitHub

BRがパーティションテーブルの位置を考慮するように変更しています。

server: Revert "server: Improve compatibility with MySQL 5.5 and 5.6 clients … by djshow832 · Pull Request #33142 · pingcap/tidb · GitHub

MySQL 5.5と5.6クライアントの互換性を高めるために変更されたserver: Improve compatibility with MySQL 5.5 and 5.6 clients by dveeden · Pull Request #32338 · pingcap/tidb · GitHub をrevertしています。 Clients with `mysql_native_password` cannot connect to TiDB · Issue #33141 · pingcap/tidb · GitHub での問題が発生したためとのこと。

txn: support read consistency read with ts checking by cfzjywxk · Pull Request #32922 · pingcap/tidb · GitHub

read consistency readでTSO(timestamp Oracle)を利用するように変更しています。

telemetry: add mutation checker and assertion usage info to TxnUsage by ekexium · Pull Request #33156 · pingcap/tidb · GitHub

mutation checkerとassertionに対して利用方法の情報を追加しています。

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

ddl.testDBSuite5用のテストをtest-infraからtestify に変更しています。 Sign in to GitHub · GitHub でも類似の変更がありました。