Commit Graph

126 Commits

Author SHA1 Message Date
bc95a4f022 *: lock the temp index key properly in DML (#41516)
close pingcap/tidb#41515
2023-02-17 18:19:04 +08:00
7352d7b91c *: reduce the allocation of error constructing in DecodeTableID (#41301)
close pingcap/tidb#41300
2023-02-12 00:04:02 +08:00
c6e6d621e2 ddl: check the key existence on original index (#40749)
close pingcap/tidb#40730
2023-02-10 15:22:00 +08:00
e8c32ae8fb br: adaption for keyspace feature (#40532)
ref pingcap/tidb#40531
2023-02-02 12:21:57 +08:00
de856d9354 store/copr: move row hint into key range (#40105)
ref pingcap/tidb#39361
2023-01-19 22:57:50 +08:00
338fd30fc9 ddl: reimplement get flashback cluster related key ranges (#40460)
close pingcap/tidb#40318, close pingcap/tidb#40477
2023-01-13 13:47:46 +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
f9a6e47192 planner: support push part of order property down to the partition table (#36108)
ref pingcap/tidb#26166
2022-11-29 13:51: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
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
d6d0ce7b10 *: gofmt code for adapting go 1.19 (#36832)
ref pingcap/tidb#36879
2022-08-11 12:50:49 +08:00
87c5b5068a executor: do not acqurie pessimistic lock for non-unique index keys (#36229)
close pingcap/tidb#36235
2022-07-26 13:15:10 +08:00
911e7cc360 *: enable revive (#35970)
ref pingcap/tidb#35345
2022-07-15 16:03:06 +08:00
d653011328 *: fix typos in comments and documentations (#35245)
close pingcap/tidb#25052
2022-06-09 01:52:30 +08:00
c6fe032e99 br: support PiTR feature (#34409)
ref pingcap/tidb#29501
2022-05-12 17:08:35 +08:00
1bf64c60f4 *: Refactor FieldType structure (#33569)
close pingcap/tidb#32116
2022-04-26 19:28:51 +08:00
17a9fc4adf executor: improve UnionScanRead performance (#32668)
ref pingcap/tidb#32433
2022-04-01 11:02:30 +08:00
e7da7d4f95 *: change fsp from int8 to int (#28347) 2022-01-27 13:59:12 +08:00
24e7e5d755 planner: cut prefix index according the character set (#30694)
close pingcap/tidb#30564
2021-12-30 16:07:50 +08:00
37bfd57dac *: support makezero via golangci-lint (#29267) 2021-11-10 17:05:06 +08:00
4df2c21a94 *: TIDB_DECODE_KEY(): Decode keys which only have a TableID (#29522) 2021-11-08 00:19:04 +08:00
xhe
94e30df8e2 parser: fix compiling, add unit tests (#28700) 2021-10-11 23:15:25 +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
ae36fbdb31 tablecodec: fix write wrong prefix index value when collation is ascii_bin/latin1_bin (#24578) 2021-05-17 14:35:39 +08:00
fb2df7675c tablecodec: fix text type decode for old row format (#23751) 2021-03-31 22:41:25 +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
b8f6ac0dd3 *: fix wrong replace or insert-on-dup behavior on prefixed clustered index (#23091) 2021-03-09 16:54:55 +08:00
b5a9076aea *: new secondary index value format (#20220) 2021-03-03 21:16:54 +08:00
ef57bdbbb0 *: fix somes bugs related to the clustered index and the new collation (#20934) 2020-11-12 15:18:15 +08:00
2f067c0542 *: redact arguments for Error (#20436) 2020-10-21 14:44:08 +08:00
937949f44d DDL: support drop partition on the partitioned table with global indexes (#19222) 2020-10-19 10:31:15 +08:00
d726ba647e expression: support decode more types through tidb_decode_key() (#20382) 2020-10-15 15:12:28 +08:00
eff7837795 executor: support 'recover index' in clustered index tables (#19284)
* support 'recover index' in clustered index table

* ddl: add truncate to buildCommonHandleFromChunkRow

* executor: truncate the updated handle

* executor: set core.HandleCols in the initialization of RecoverIndexExec

* refine code

* remove unused code

* fix integration test

* fix integration test

* address comment

* early return when recovering clustered pk

* remove panic

Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-08-26 11:51:52 +08:00
eb40424de4 ddl: support add global index operation on partition table (#18402) 2020-08-21 14:16:56 +08:00
13bd62e183 ddl, executor: fix clustered prefix primary key truncation (#19320)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-08-20 14:45:22 +08:00
baedc336af tablecodec: fix check cluster index table on new collation (#19181)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-08-13 21:14:44 +08:00
3f38fa5d02 executor, planner: enable duplication check on prefix clustered index (#19099)
* executor, planner: store clustered prefix index intact

* make fmt

* address comment

* decoding row value is prior than decoding key

* unexport DecodeHandleToDatum()

* make fmt

* address comments

* fix unit test: TestSplitRegionTimeout
2020-08-13 14:05:18 +08:00
07ae6078e8 *: support clustered index for fast analyze (#18767) 2020-08-07 19:22:14 +08:00
bd06d239a2 tablecodec: support decode common handle bytes to strings (#18953)
* tablecodec: support decode common handle bytes to strings

* address comments

Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-08-04 13:35:48 +08:00
0df3b74f55 expression: make tidb_decode_key function try to decode the index value (#18245) 2020-07-03 18:13:05 +08:00
99a83a1c6d planner, unistore: support index scan for common handle on unique index (#18302) 2020-07-02 21:02:57 +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
0321395ea9 types/question: fix the variable reallocation in the function EncodeIndexSeekKey (#17831) (#17833) 2020-06-15 15:59:48 +08:00
7c3e9d2427 *: support analyze on cluster index (#17895) 2020-06-15 10:51:33 +08:00
30cb0312d1 tablecode: improve the coverage of key path in tablecodec (#16986) 2020-06-10 14:42:15 +08:00
73c4673f30 *: support update/delete/insert ignore/duplicate update in single cluster index table (#17721) 2020-06-08 20:55:31 +08:00
1758f86de6 util: support clustered index for table scan (#17616) 2020-06-03 20:17:13 +08:00
552e7709de *: refactor decoder to avoid useless fieldType convert (#17632) 2020-06-03 18:13:56 +08:00
c258afafe2 *: index codec for common handle (#16998) 2020-05-09 16:18:05 +08:00