Commit Graph

83 Commits

Author SHA1 Message Date
f717e39a8e executor: split aggregate.go into several files (#46489)
close pingcap/tidb#46487
2023-08-30 08:50:10 +00:00
2abf83ddd5 *: remove feedback (#45969)
ref pingcap/tidb#46056
2023-08-21 11:03:34 +00:00
d5b006d35c executor: enable revive for executor/a* (#45401)
ref pingcap/tidb#40786
2023-07-18 05:47:16 +00:00
30cafb3c3a executor: refactor executor and baseExecutor (#45065)
ref pingcap/tidb#44940
2023-07-03 07:56:12 +00:00
e927cade5c txn: disable rc read check ts for cursor read mode (#42185)
close pingcap/tidb#42184
2023-03-14 17:44:48 +08:00
9f5cc51b42 *: support recover multi-valued index (#41181)
close pingcap/tidb#41180
2023-02-09 16:06:00 +08:00
57ab10c858 admin: fix recover expression cause index broken (#41092)
ref pingcap/tidb#40430, close pingcap/tidb#41087
2023-02-07 17:37:58 +08:00
01b231015a admin: support cleanup multi-valued index (#40428)
close pingcap/tidb#40427
2023-02-01 18:27:56 +08:00
d3b952a49a executor: write multi-valued index (#40172)
close pingcap/tidb#40207
2022-12-30 13:38:17 +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
d734cc8e8e *: refactor some functions for better reusability (#39133) 2022-11-14 17:13:55 +08:00
0b3e1e9be0 *: Chunkreuse try reuse chunk in operator (#38607)
close pingcap/tidb#38606
2022-11-04 11:28:00 +08:00
65e0b8e541 client: KV requests with source label (#34833)
close pingcap/tidb#33963
2022-07-01 19:46:39 +08:00
1d485d11ed topsql: fix admin check/cleanup/recover statement doesn't set tag for RPC request (#33869)
close pingcap/tidb#33716
2022-04-13 18:00:36 +08:00
05b9157957 executor: correct the table range built by 'recover index' (#32960)
close pingcap/tidb#32915
2022-03-28 11:28:28 +08:00
9c64224c49 *: Reduce data inconsistencies (#31547)
ref pingcap/tidb#26833
2022-02-11 13:51:36 +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
01a87e3257 *: solve cloud tikv disk full problem (#26302) 2021-08-08 13:21:13 +08:00
xhe
bfdad7c752 *: milisecond test and infoschema fix (#24820) 2021-05-24 18:27:34 +08:00
b7c22aa31d kv: remove UnionStore interface (#24625) 2021-05-13 21:29:39 +08:00
xhe
2ea64b28fd executor,distsql: clean up useless interface (#23885) 2021-04-09 21:30:33 +08:00
9dfc786c4c *: fix a bug that wrong index data on prefixed clustered index (#23742) 2021-04-01 10:15:27 +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
68aaa2fa7e *: fix auto-id allocate tracing (#22371) 2021-01-13 12:19:58 +08:00
29a83c2cd8 executor hptc ycsb-worloade: Make use of AppendRows in all cases (#21163) 2020-11-29 16:21:00 +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
127c3aa61d executor: support admin cleanup for clustered index table (#19522)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-08-28 11:46:52 +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
761a961ba0 kv: refactor MemBuffer and reduce the memory usage (#18372) 2020-07-15 15:26:25 +08:00
3f6f36f742 *: refactor table.IterRecord and extract some methods (#18214)
* *: refactor table.IterRecord and extract some methods

* fix ci test

* fix ci test

Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-06-29 09:24:34 +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
73c4673f30 *: support update/delete/insert ignore/duplicate update in single cluster index table (#17721) 2020-06-08 20:55:31 +08:00
b923b9e5de util/admin: support admin cleanup index on the partition table (#17203) 2020-05-26 13:13:40 +08:00
4078eb4ae5 util/admin: support admin recover index on the partition table (#17195) 2020-05-20 17:10:44 +08:00
51dabaabef *: refactor Handle in executor package (#16871) 2020-04-28 21:27:19 +08:00
6814f8c94b *: refactor Handle in table package (#16807) 2020-04-27 10:04:50 +08:00
af376db3dc *: refactor Handle in tablecodec and rowcodec (#16705)
Co-authored-by: pingcap-github-bot <sre-bot@pingcap.com>
2020-04-23 18:55:59 +08:00
55b3e1110c *: reduce the allocation caused by Datum.Copy (#15219) 2020-03-09 17:38:46 +08:00
05b691805a util: move ColumnsToProto from parser to util pkg (#14971) 2020-02-28 17:23:41 +08:00
a94cff903c *: refactor LockKeys API (#14020) 2019-12-11 15:05:59 +08:00
01a7d00053 executor: change pessimistic lock wait start for one statement (#13922) 2019-12-06 15:17:49 +08:00
a7d5b98306 *: Move StartTs from DAGRequest to Coprocessor.Request (#13823) 2019-12-03 17:13:12 +08:00
3a48a48630 *: remove the assertion proto (#13732)
The assertion proto was introduced to verify the data consistency, but I find
it's complex and hard to achieve that goal. Adding additional assertions just
makes more memory occupation, especially in the large transaction.
So it's better to remove it.
2019-11-26 22:58:49 +08:00
f12403ef08 executor: support select for update no wait (#12775) 2019-11-04 17:01:40 +08:00
4907685ed2 *: fix bug that the kill command doesn't work when the killed session is waiting for the pessimistic lock (#12852) 2019-10-24 17:26:12 +08:00
99a5432dce *: encode the returned data using the Chunk format in mocktikv (#12023) 2019-09-28 20:02:26 +08:00
036e7e207d *: support new 'log' format for trace (#11681) 2019-08-09 12:43:33 +08:00