TiDB commits

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

TiDB commits on 2022-04-06

github.com

executor: migrate test-infra to testify for part of executor_test by tisonkun · Pull Request #33709 · pingcap/tidb · GitHub

executor_testの一部をtest-infraからtestifyに移行しています。

executor: migrate test-infra to testify for executor_test.testSuite(6|8) by tisonkun · Pull Request #33713 · pingcap/tidb · GitHub

executor_test.testSuite6とexecutor_test.testSuite8をtest-infraからtestifyに移行しています。

planner: refactor a few methods about cost calculation by qw4990 · Pull Request #33681 · pingcap/tidb · GitHub

IndexLookUpのコスト計算専用のメソッドを追加しています。

ddl: make CompleteDeleteRange atomic by explicit transaction by wjhuang2016 · Pull Request #33721 · pingcap/tidb · GitHub

CompleteDeleteRangeをトランザクションで制御するようにし、gc_delete_range_doneとgc_delete_rangeの行数が常に同じになるようにしています。

session, sessionctx: Make sysvar tidb_read_staleness TypeInt by TszKitLo40 · Pull Request #32794 · pingcap/tidb · GitHub

システム変数tidb_read_stalenessの型をTypeIntに変更しています。

txn: add document for read-consistency read tso optimization by cfzjywxk · Pull Request #32806 · pingcap/tidb · GitHub

Isolationがread-committedのときの、TSO取得の最適化のために導入されたtidb_rc_read_check_tsシステム変数とその動作についてのデザインドキュメントを追加しています。

planner: forbid NULL as of value in stale read by lcwangchao · Pull Request #33729 · pingcap/tidb · GitHub

stale readのtimestampにNULLを指定できないようにしています。

*: Refactor session#domainMap use RWMutex to replace Mutex by likzn · Pull Request #33739 · pingcap/tidb · GitHub

session#domainMapで利用していたMutexをRWMutexに置き換えています。

executor: migrate test-infra to testify for part of testSuite by tisonkun · Pull Request #33741 · pingcap/tidb · GitHub

executor_testの一部をtest-infraからtestifyに移行しています。