TiDB commits

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

TiDB commits on 2022-04-14

github.com

util: migrate importer and watcher from tidb-tools to tidb by hawkingrei · Pull Request #33846 · pingcap/tidb · GitHub

importer と watcher パッケージをtidb-toolsからtidbレポジトリに移動しています。

docs: add design doc for GET_LOCK by morgo · Pull Request #33406 · pingcap/tidb · GitHub

Advisory locking(GET_LOCK)のデザインドキュメントを追加しています。 *: Add support for GET_LOCK() / RELEASE_LOCK() / RELEASE_ALL_LOCKS() by morgo · Pull Request #33947 · pingcap/tidb · GitHub にて実装のpull requestが開かれています。

util/sem: add tidb_audit_redact_log to invisible sysvars by morgo · Pull Request #33712 · pingcap/tidb · GitHub

SEM(?)が有効になっている場合にtidb_audit_redact_logの設定ができないように変更しています。

executor: add memory tracker for quering slow_query to avoid TiDB server oom by crazycs520 · Pull Request #33953 · pingcap/tidb · GitHub

information_schema.slow_query の検索に対してメモリ使用量を追跡するようにしています。

*: Add more grafana charts for pd http api request by lcwangchao · Pull Request #33936 · pingcap/tidb · GitHub

PDでのhttp apiリクエストに関するGrafanaのチャートを追加しています。

*: update unstable unit test case list 0407-0412 by heibaijian · Pull Request #33955 · pingcap/tidb · GitHub

不安定なユニットテストのリストを更新しています(+8-10)

server: openSession instead set nil when changeUser by knull-cn · Pull Request #33894 · pingcap/tidb · GitHub

ComChangeUserを複数回実行するときにpanicがおきていたのを既存のセッションをnilに設定するのではなく、新しくセッションを開くことで対応しています。

tools/check: let ut binary retry on more errors to make CI stable by tiancaiamao · Pull Request #33964 · pingcap/tidb · GitHub

ut(?)のテストが失敗したときのエラーメッセージを追加しています。

infoschema: make TestSlowQueryOOM stable by crazycs520 · Pull Request #33970 · pingcap/tidb · GitHub

TestSlowQueryOOMテストから不要なloggerの初期化コードを削除しています。

br: modify tables that should be altered auto id or random id by WangLe1321 · Pull Request #33719 · pingcap/tidb · GitHub

BRでのリストアの際に、auto_incrementまたはauto_randomを利用するprimary keyが重複する問題を修正しています。