Commit Graph

123 Commits

Author SHA1 Message Date
c8bef987ae *: support variable tidb_last_ddl_info (#32414)
close pingcap/tidb#32402
2022-02-17 16:43:40 +08:00
465f655889 * : replace fmt.Sprint with strconv (#31718)
ref pingcap/tidb#31716
2022-01-17 15:11:44 +08:00
xhe
94e30df8e2 parser: fix compiling, add unit tests (#28700) 2021-10-11 23:15:25 +08:00
48c624b201 *: remove some unnecessary exported/interface functions (#28134) 2021-09-22 15:22:45 +08:00
d7bb71bc1f ddl, meta: refactor auto IDs metadata interface (#27721) 2021-09-10 13:56:39 +08:00
6aec001345 ddl: support table placement option (#27799) 2021-09-07 22:54:57 +08:00
8ba11a66c3 ddl: support create and drop placement policy (#27574) 2021-08-30 11:36:12 +08:00
de22c5a9b6 meta: support storing placement policy into meta (#27251) 2021-08-23 18:08:04 +08:00
7755d25aba *: Integrate SkyWalking-eyes to check license headers in CI and fix licenses headers (#27198) 2021-08-16 18:52:00 +08:00
01a87e3257 *: solve cloud tikv disk full problem (#26302) 2021-08-08 13:21:13 +08:00
d2bdfd51b7 store/tikv: move transaction options out to /kv (#24619) 2021-05-13 17:49:39 +08:00
64938b80ee store/tikv: remove use of SyncLog transaction option in store/tikv (#24333) 2021-04-29 14:17:57 +08:00
0ec8f2d9fb store/tikv: remove use of Priority transaction options in store/tikv (#24360) 2021-04-29 13:59:57 +08:00
67acdf3e90 ddl: support change from auto_inc to auto_random through 'alter table' (#20512) 2021-04-09 18:16:33 +08:00
efe172b0e0 store/tikv:move option from kv to tikv, and make define as a normal int (#23171) 2021-03-22 20:13:36 +08:00
d184120a99 ddl: use kv.Key as reorg progress marker instead of kv.Handle (#20908) 2020-11-11 18:47:23 +08:00
2f067c0542 *: redact arguments for Error (#20436) 2020-10-21 14:44:08 +08:00
79711ad6b8 ddl: support alter sequence (#20405) 2020-10-14 17:06:11 +08:00
0528a1f12f *: handle the to-do item of rebuilding ReorgInfo key when executing modify/change column (#19866) 2020-09-27 08:34:36 +08:00
6c305e2a49 ddl: apply common handle to index reorganization (#17906) 2020-06-16 09:52:39 +08:00
04548980f8 ddl, meta: allow increasing auto_random bits (#17423) 2020-06-10 08:35:13 +08:00
0bbf1d954c *: implement the sequence allocator logic. (#14829) 2020-02-26 15:45:38 +08:00
a528e60e3b *: add auto_random id cache for statement retrying and table recover (#14711) 2020-02-19 18:53:03 +08:00
750583c665 *: use iterator in show ddl jobs to avoid oom when there is too many history ddl jobs. (#12472) 2020-02-10 22:56:05 +08:00
465af00b46 *: use new registrable terror (#14606) 2020-02-06 16:40:26 +08:00
b25c82452f ddl: support drop sequence in TiDB (#14442) 2020-01-20 15:49:04 +08:00
ff096ee2cf ddl : support create sequence in TiDB. (#14112) 2020-01-09 19:38:14 +08:00
fce9870208 ddl,executor: add auto_random column option (#13127) 2019-12-23 14:51:51 +08:00
dc80933185 *:fix typo boostrap (#14174)
Signed-off-by: Shuaipeng Yu <jackysp@gmail.com>
2019-12-23 10:52:18 +08:00
246b91edd4 meta: refine error code for package meta (#13654) 2019-11-27 12:57:07 +08:00
2de2baa256 *: fix staticcheck errors in folder bindinfo, config, infoschema, meta and privilege (#13702) 2019-11-26 17:27:29 +08:00
4b830aa7f6 *: Remove unused code (#13674) 2019-11-22 11:37:07 +08:00
df1baca19f *: support adding/dropping the primary key by a configuration (#13229) 2019-11-15 01:10:51 +08:00
8ed2e1bf45 util/admin: fix the error of "invalid list index" when cancel ddl jobs (#12402) 2019-10-13 20:39:03 +08:00
fc9def1e5f ddl,meta: Generate global IDs in bulk to reduce the number of lock acquisition (#11635) 2019-08-09 14:55:33 +08:00
c8d1ff7ca6 *: replace 'logutil.Logger(context.Background())' with 'logutil.BgLogger()' (#10866) 2019-06-21 19:13:31 +08:00
8599fee538 *: implement IterReverse for tikvSnapshot and use desc scan to get latest N ddl history jobs. (#10152) 2019-05-31 23:40:09 +08:00
f75d9c0af5 ddl: cancel add index when can not find partition and fix GetPartition function bug (#10475) 2019-05-20 11:13:26 +08:00
e90f3b9568 meta, util: add unit tests (#10054) 2019-04-11 10:22:00 +08:00
e31e8f1560 *: reduce runtime.growslice by preallocation (#9946) 2019-03-31 10:31:06 +08:00
b78490e403 *: use the unified log format for the remaining packages (#9743) 2019-03-22 16:34:47 +08:00
f522de2e8f ddl: support "or replace" option when create view (#8856) 2019-01-16 19:54:22 +08:00
365264cd21 ddl: add restore deleted table (#7937) 2019-01-16 15:37:33 +08:00
7056bb0d32 executor, session: refine insert unsigned bigint autoIncreID (#8181) 2018-12-18 23:01:10 +08:00
32b1dbd8d5 *: rename "github.com/pkg/errors" to "github.com/pingcap/errors" (#8136)
We import "github.com/pkg/errors" in the code, and actually put
the "github.com/pingcap/errors" there in the vendor path.
That's a dirty hack, and prevent the introduce of Go module.
2018-11-01 16:09:07 +08:00
89dda9d9a8 *: move parser to a separate repository (#8036) 2018-10-25 11:12:10 +08:00
73cab9252d Fix some misspells (#7830) 2018-10-08 09:40:03 +08:00
cb03f2bec1 move from juju/errors to pkg/errors (#7151) 2018-09-12 15:42:20 +08:00
82a6c1085c *: introduce the concept of physical ID, code refactory (#7374) 2018-08-16 10:33:24 +08:00
359df6ecc2 variable, ddl: add session variable 'tidb_ddl_reorg_priority' to set operation priority of ddl reorg (#7116) 2018-08-08 17:16:05 +08:00