TiDB commits

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

TiDB commits on 2022-03-17

github.com

telemetry: add telemetry for tso optimization by cfzjywxk · Pull Request #33162 · pingcap/tidb · GitHub

TSOの最適化のためのテレメトリーを追加しています。

parser: add RemovePlacementRuleFlag by hawkingrei · Pull Request #33161 · pingcap/tidb · GitHub

parserにRemovePlacementRuleFlagを追加しています。placement ruleが存在しない古いTiDBにDDLをコピーできるようにするためとのこと。

*: revert #27021 to fix a bug that selection can not be pushed down when having clause above aggregation by wjhuang2016 · Pull Request #33168 · pingcap/tidb · GitHub

planner: fix wrong selection push down when having above agg by lzmhhh123 · Pull Request #27021 · pingcap/tidb · GitHub をrevertしています。元々の事象に対しては、expression, util/codec: fix wrongly eliminated conditions caused by `HashCode()` collision by time-and-fate · Pull Request #30120 · pingcap/tidb · GitHub が正しい修正だからとのこと。

executor: fix CTE may be blocked when query report error by guo-shaoge · Pull Request #33085 · pingcap/tidb · GitHub

CTE(Common Table Expressions)へのクエリーがエラーとなったときにCTEがブロックされる(?)問題を修正しています。

sysvar: re-organize the order of sysvars by their scopes. by CbcWestwolf · Pull Request #33149 · pingcap/tidb · GitHub

sysvar.goに定義されているシステム変数の順序をそろえています。

ddl: check DDL history job in test by wjhuang2016 · Pull Request #33079 · pingcap/tidb · GitHub

DDL history jobのテストを修正しています。

br: download sst again with no-crypt parameters when met decryption error for downloadSST by joccau · Pull Request #32847 · pingcap/tidb · GitHub

BR(Backup and Restore)でバックアップファイル中のSST(Sorted String Table)ファイルが暗号化されていなかったときに、リストアが失敗する問題を修正しています。

planner: support predicate pushdown for CTE by wjhuang2016 · Pull Request #33158 · pingcap/tidb · GitHub

CTE用にpredicate pushdownのサポートを追加しています。

telemetry, session: add telemetry collector for placement policies by bb7133 · Pull Request #33165 · pingcap/tidb · GitHub

Placement policy用にテレメトリーを追加しています。

bootstrap: correctly increment the bootstrap version by Reminiscent · Pull Request #33184 · pingcap/tidb · GitHub

bootstrap version(?)が正しくなかったのを修正しています。

gomod: update dependency for golang1.18 by hawkingrei · Pull Request #33053 · pingcap/tidb · GitHub

Go 1.18対応をしています。

topsql: enable topsql feature by default by crazycs520 · Pull Request #33195 · pingcap/tidb · GitHub

Top SQL | PingCAP Docsがデフォルトで有効となりました。

cmd/ddltest: make checkDropIndex correct in TestIndex by zimulala · Pull Request #33178 · pingcap/tidb · GitHub

TestIndexテスト中でのcheckDropIndex関数を修正しています。

topsql: fix the issue of TiDB doesn't set the request tag for DDL before send RPC request to TiKV by crazycs520 · Pull Request #33133 · pingcap/tidb · GitHub

topsql用にTiDBがTiKVにリモートプロシジャコールを行う前に必要だったタグを追加するように修正しています。

table/tables: fix some stability issues with cached table by tiancaiamao · Pull Request #33171 · pingcap/tidb · GitHub

キャッシュされたテーブルに関して、複数のgoroutineがStateRemote(?)を同時に利用してpanicが発生していた問題を修正しています。

*: Fix checkHistoryJobInTest failed when br restore by lcwangchao · Pull Request #33206 · pingcap/tidb · GitHub

BRリストア時にcheckHistoryJobInTestテストの失敗を修正しています。

ddl: disable some DDL operation when a table is cached by tiancaiamao · Pull Request #32827 · pingcap/tidb · GitHub

テーブルがキャッシュされているとき、いくつかのDDLを実行できないようにしています。

docs: proposal for reducing data inconsistencies by ekexium · Pull Request #28271 · pingcap/tidb · GitHub

Defend against data inconsistency and improve its troubleshooting · Issue #26833 · pingcap/tidb · GitHubで報告されているissueに対して、データの不整合をへらすプロポーザルを追加しています。

planner: add the functional dependency for Datasource, proj, select, agg by winoros · Pull Request #33071 · pingcap/tidb · GitHub

Datasource, proj, select, aggに対して関数の依存性(functional dependency)を追加しています。

main: fix `@@hostname` always returns `localhost` by djshow832 · Pull Request #33064 · pingcap/tidb · GitHub

@@hostnameが実際のホスト名を出力するように変更しています。従来はlocalhostが出力されていました。

restore: allow restore accross one major version by 3pointer · Pull Request #33203 · pingcap/tidb · GitHub

BRが一つのメジャーバージョン間でのリストアを許容しています。