Commit Graph

673 Commits

Author SHA1 Message Date
b1ecabb559 txn: Optimize pessimistic transaction by supporting locking with conflict (#35588)
close pingcap/tidb#40537
2023-01-13 11:09:46 +08:00
43ebc64094 ddl: support online create multi-valued index (#40304)
close pingcap/tidb#40337
2023-01-06 16:24:21 +08:00
494672cb51 admin: impl admin check index for mv index (#40270)
close pingcap/tidb#40272
2023-01-03 16:58:20 +08:00
d3b952a49a executor: write multi-valued index (#40172)
close pingcap/tidb#40207
2022-12-30 13:38:17 +08:00
c26a6b5297 *: lock row keys during merging back from temp index (#39936)
close pingcap/tidb#39929
2022-12-14 23:38:53 +08:00
1ff1342283 ddl: mark the writes from delete-only and drop them on merge (#39796)
close pingcap/tidb#39731
2022-12-10 12:05:41 +08:00
6784bfd0e8 sessionctx: move shardRand from TransactionContext to SessionVars to reduce allocation (#39661) 2022-12-08 20:28:05 +08:00
6924a443f4 *: fix panic when add index on prefixed pk tables (#39740)
close pingcap/tidb#39723
2022-12-07 21:58:03 +08:00
19dae1fa73 *: separate auto_increment ID allocator from _tidb_rowid allocator when AUTO_ID_CACHE=1 (#39041)
close pingcap/tidb#982
2022-11-29 20:20:00 +08:00
12d1cf6811 executor: fix issue of foreign key cascade don't work cause by untouched index key (#39420)
close pingcap/tidb#39419
2022-11-28 22:47:59 +08:00
03034b6eee ddl: properly handle existence checks for deleted records in temp index (#39371)
close pingcap/tidb#39321
2022-11-28 21:13:59 +08:00
d3a63e93ea ddl: fix data inconsistency for untouched values during add index (#39239)
close pingcap/tidb#39232
2022-11-21 11:55:57 +08:00
d734cc8e8e *: refactor some functions for better reusability (#39133) 2022-11-14 17:13:55 +08:00
21d6190278 txn: tidb_constraint_check_in_place_pessimistic should not be global scoped (#38767)
close pingcap/tidb#38766
2022-11-07 10:31:50 +08:00
f9c7bbccec *: authentication using tidb_auth_token plugin (#38773)
close pingcap/tidb#38504
2022-11-04 02:54:00 +08:00
3baebdba63 table/tables: fix unstable test TestCacheTableBasicReadAndWrite (#38820)
close pingcap/tidb#36586
2022-11-03 11:40:00 +08:00
5cdfea619f *: bring back the 'make ut' (#38806) 2022-11-02 17:18:00 +08:00
9743a9a2d2 txn: add table name in dup entry error message (#38243)
Signed-off-by: ekexium <eke@fastmail.com>
2022-10-19 14:14:55 +08:00
5c4b328b02 variables: enable variable hook to access storage (#38227)
close pingcap/tidb#38225
2022-10-01 02:35:45 +08:00
1eeedacc60 *: remove goleak's ignoring opencensus top function (#37908) 2022-09-19 12:29:00 +08:00
0f93f7b661 *: close resultSets (#37906) 2022-09-17 13:12:59 +08:00
8161947cc8 *: Support multi-column RANGE COLUMNS partitioning (#36637)
close pingcap/tidb#36636
2022-09-16 17:47:00 +08:00
e2abe3df41 ddl: support create index with ingest method (#37847)
ref pingcap/tidb#35983
2022-09-16 17:18:59 +08:00
40e67edcca *: redirect the DML writes to a temp index during creating index (#37709)
ref pingcap/tidb#35983
2022-09-15 11:22:59 +08:00
7eb7ca902a planner: fallback to static plan for partition table if having no global stats in dynamic prune mode (#37573)
ref pingcap/tidb#37535
2022-09-08 09:20:57 +08:00
be7de700bd ddl: add logs to backfill worker and refactor some methods (#37662)
ref pingcap/tidb#35983
2022-09-07 17:18:57 +08:00
835922a5cd txn: support skipping locking of some INSERT in pessimistic transactions (#36473)
close pingcap/tidb#36579
2022-09-01 18:34:25 +08:00
6e582640d7 *: upgrade glangci-linter (#37413) 2022-09-01 12:14:24 +08:00
ccd4f347a2 *: Enable tiflash_fastscan variable and remove fast mode alter statment (#37027)
ref pingcap/tidb#35850
2022-08-29 11:28:22 +08:00
a89ef1f276 *: support ACCOUNT (UN)LOCK when creating/altering user (#37052)
close pingcap/tidb#35961, close pingcap/tidb#37051
2022-08-25 16:12:22 +08:00
a1d1356072 ddl: Fix for unsigned partitioning expressions (#36830)
close pingcap/tidb#35827
2022-08-18 18:16:51 +08:00
d0f8487dea *: support specifying range bits for auto_random (#36860)
close pingcap/tidb#32508
2022-08-16 20:54:50 +08:00
483183e5f2 table/tables: fix bug for jepsen test on cached table (#37020)
close pingcap/tidb#36885
2022-08-16 17:02:51 +08:00
d6d0ce7b10 *: gofmt code for adapting go 1.19 (#36832)
ref pingcap/tidb#36879
2022-08-11 12:50:49 +08:00
xhe
28d08a94ff table: fix unstable TestBeginSleepABA (#36884)
ref pingcap/tidb#36838
2022-08-04 14:20:06 +08:00
xhe
9a16a8dd19 *: replace defer clean with t.Cleanup (#36722)
close pingcap/tidb#36721
2022-08-01 17:34:05 +08:00
158ba1a1d9 *: enable part revive for all code (#36703) 2022-08-01 14:02:06 +08:00
6baea73277 *: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (#36660) 2022-07-28 19:23:11 +08:00
15009a7c4e *: clean code (#36655) 2022-07-28 15:09:11 +08:00
e9f3980853 table partition: exchange partition with table enhance (#35749)
close pingcap/tidb#35996
2022-07-21 00:13:09 +08:00
db03c0c9e5 *: use generic to improve btree performance (#35492)
close pingcap/tidb#34248
2022-07-15 17:53:05 +08:00
e00ad2b3ef *: enable errcheck for nogo (#35704)
ref pingcap/tidb#35345
2022-07-02 22:08:39 +08:00
65e0b8e541 client: KV requests with source label (#34833)
close pingcap/tidb#33963
2022-07-01 19:46:39 +08:00
16df1942d0 *: add timeout for test cases (#35844) 2022-06-30 20:18:38 +08:00
fb67ee4412 ddl: add data structure SubJob for multi-schema change (#35231)
ref pingcap/tidb#14766
2022-06-10 12:36:30 +08:00
6cd02fab55 tables: remove a useless test (#35125)
ref pingcap/tidb#35103
2022-06-09 16:06:32 +08:00
30f7037d03 table: add some injections for testing data-inconsistency defense (#34889)
ref pingcap/tidb#26833
2022-06-07 16:14:30 +08:00
2b4a4c6d7a *: support bazel (#33691)
close pingcap/tidb#34083
2022-06-07 15:22:30 +08:00
b860500988 executor: do not append extra cols to the old row when updateDupRow (#33656)
close pingcap/tidb#33608
2022-06-06 15:30:29 +08:00
6d54fea1c4 tables: disable row insertion consistency check in mutation checker; and fix the cache problem (#35104)
close pingcap/tidb#35103
2022-06-02 12:24:27 +08:00