pingcap / tidb

TiDB is an open-source, cloud-native, distributed, MySQL-Compatible database for elastic scale and real-time analytics. Try AI-powered Chat2Query free at : https://www.pingcap.com/tidb-serverless/
https://pingcap.com
Apache License 2.0
37.03k stars 5.82k forks source link

Local/Global Transaction in Cross-DC Deployment Tasklist #20448

Open JmPotato opened 3 years ago

JmPotato commented 3 years ago

Development Task

Part of #18253, #20561, and tikv/pd#2759, in order to make TiDB support the Local/Global Transaction in Cross-DC Deployment, which further enables TiDB to support Cross-Region Deployment & Geo-Partition (https://github.com/pingcap/tidb/issues/18273).

New feature

Basic Work

Data Constraint Check

Optional Work

Yisaer commented 3 years ago

assign "Add a new Session variable tidb_txn_scope to dispatch the Local/Global Transactions." @Yisaer

JmPotato commented 3 years ago

assign "Update the PD Client wrapper to support the new Local/Global TSO generation." @JmPotato