Commit Graph

102 Commits

Author SHA1 Message Date
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
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
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
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
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
835922a5cd txn: support skipping locking of some INSERT in pessimistic transactions (#36473)
close pingcap/tidb#36579
2022-09-01 18:34:25 +08:00
1bf64c60f4 *: Refactor FieldType structure (#33569)
close pingcap/tidb#32116
2022-04-26 19:28:51 +08:00
9c64224c49 *: Reduce data inconsistencies (#31547)
ref pingcap/tidb#26833
2022-02-11 13:51:36 +08:00
c36ef357d8 table: remove some unused index functions (#31957)
ref pingcap/tidb#30437
2022-01-26 13:34:45 +08:00
2b7ce8e61f executor: fix the incorrect untouch used in optimistic transactions (#30447)
close pingcap/tidb#30410
2021-12-21 16:57:46 +08:00
xhe
94e30df8e2 parser: fix compiling, add unit tests (#28700) 2021-10-11 23:15:25 +08:00
e5bf177cd9 *: Use snapshot interceptor to handle temporary table's insert/update/delete (#28218) 2021-09-23 10:00:46 +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
6a1e5215df executor: Add insert/replace ignore/on duplicate key support for local temporary table (#26636) 2021-08-04 14:19:07 +08:00
94194679a4 *: finish insert/point_get for local temporary table (#26053) 2021-07-09 18:13:30 +08:00
d5f01e1477 kv: extract subset of tikv.KeyFlags (#24739) 2021-05-25 12:35:33 +08:00
b7c22aa31d kv: remove UnionStore interface (#24625) 2021-05-13 21:29:39 +08:00
d388538719 *: turn on unused linter (#24212) 2021-04-23 13:19:54 +08:00
0ca5383c89 table: initialize index.needRestoredData lazily (#24030) 2021-04-14 22:39:09 +08:00
f45bd9bd21 kv/union_store:move implementation of unionstore into store/tikv (#23490) 2021-03-26 16:40:29 +08:00
60460be42f *: unify NeedRestoredData and CommonHandleNeedRestoredData (#23266) 2021-03-19 19:51:36 +08:00
f8da635f5a *: refactor and fix the usages of DecodeIndexKV for clustered index (#23096) 2021-03-10 16:46:55 +08:00
5f73c822ca kv/union_store:remove tableinfo from union_store (#22976)
Co-authored-by: disksing <i@disksing.com>
2021-03-04 16:30:42 +08:00
b5a9076aea *: new secondary index value format (#20220) 2021-03-03 21:16:54 +08:00
24c9df147d *: refactor table.Table interface, clean up unnecessay methods (#22430) 2021-03-02 19:48:54 +08:00
b08bfd1ff7 ddl: fix duplicate entry message report by add index (#21241) 2020-11-25 17:42:50 +08:00
de4612597c transaction: lock unique key for delete operation (#19220)
Signed-off-by: you06 <you1474600@gmail.com>
2020-10-29 12:08:26 +08:00
32d86e26c2 *: fix message for duplicate entry error (#20203)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-09-25 16:10:56 +08:00
945f7cc4a0 ddl, tables: support the column type change between the integer types (#19059) 2020-08-26 21:30:14 +08:00
eb40424de4 ddl: support add global index operation on partition table (#18402) 2020-08-21 14:16:56 +08:00
2d54976495 *: convert lockKeys to key flag (#18966)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-08-07 10:23:59 +08:00
574540aa06 fix pessimistic check (#19004)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-08-06 14:00:43 +08:00
d0639b0056 *: use the newly designed memdb (#18657)
* *: use the newly designed memdb

* address comments

* remove duplicated comments

Co-authored-by: Evan Zhou <coocood@gmail.com>
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-08-03 20:51:05 +08:00
9d77d7fc30 executor: fix wrong result for update ignore (#18936) 2020-08-03 16:48:07 +08:00
a63fa79d90 transaction: lazy check not exists error for pessimistic transaction (#18877)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-07-31 08:44:49 +08:00
6ce8f0f56a txn: support pessimistic transaction amend for specific ddls (#18447) 2020-07-29 11:35:31 +08:00
761a961ba0 kv: refactor MemBuffer and reduce the memory usage (#18372) 2020-07-15 15:26:25 +08:00
a6971dd685 *: support 'admin check table' on clustered index table (#18346) 2020-07-14 15:59:37 +08:00
6fa2badf38 util: move codec logic into tablecodec package (#18173)
* move codec logic into tablecodec package

* add key generation using physical table id

* remove using prefix

* change comment

* fix conclict

Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-06-24 17:43:10 +08:00
6c305e2a49 ddl: apply common handle to index reorganization (#17906) 2020-06-16 09:52:39 +08:00
73c4673f30 *: support update/delete/insert ignore/duplicate update in single cluster index table (#17721) 2020-06-08 20:55:31 +08:00
c258afafe2 *: index codec for common handle (#16998) 2020-05-09 16:18:05 +08:00
6814f8c94b *: refactor Handle in table package (#16807) 2020-04-27 10:04:50 +08:00
41142266b2 *: use SetString() for string instead of SetBytes() (#14989) 2020-03-02 15:48:10 +08:00