add 升级 Seata 1.5.X 源码集成服务端

This commit is contained in:
疯狂的狮子li
2022-05-31 19:08:41 +08:00
parent 2aae9bc026
commit 851e0f900d
125 changed files with 15829 additions and 75 deletions

View File

@@ -23,7 +23,7 @@ CREATE TABLE IF NOT EXISTS `global_table`
`gmt_create` DATETIME,
`gmt_modified` DATETIME,
PRIMARY KEY (`xid`),
KEY `idx_gmt_modified_status` (`gmt_modified`, `status`),
KEY `idx_status_gmt_modified` (`status` , `gmt_modified`),
KEY `idx_transaction_id` (`transaction_id`)
) ENGINE = InnoDB
DEFAULT CHARSET = utf8mb4;
@@ -62,9 +62,10 @@ CREATE TABLE IF NOT EXISTS `lock_table`
`gmt_modified` DATETIME,
PRIMARY KEY (`row_key`),
KEY `idx_status` (`status`),
KEY `idx_branch_id` (`branch_id`)
KEY `idx_branch_id` (`branch_id`),
KEY `idx_xid_and_branch_id` (`xid` , `branch_id`)
) ENGINE = InnoDB
DEFAULT CHARSET = utf8;
DEFAULT CHARSET = utf8mb4;
CREATE TABLE IF NOT EXISTS `distributed_lock`
(