Commit Graph

79 Commits

Author SHA1 Message Date
de856d9354 store/copr: move row hint into key range (#40105)
ref pingcap/tidb#39361
2023-01-19 22:57:50 +08:00
04b676adab distsql_test: fix TestPartitionTableIndexLookUpReader (#39522)
close pingcap/tidb#39516
2022-12-01 11:50:00 +08:00
14d085ba54 executor,sessionctx: enable coprocessor paging and make TestCoprocessorPagingSize stable (#38161)
close pingcap/tidb#38158
2022-09-29 11:57:44 +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
ca86fdd4be executor: fix cop request key range order another case (#36883)
close pingcap/tidb#36876
2022-08-04 14:38:05 +08:00
xhe
9a16a8dd19 *: replace defer clean with t.Cleanup (#36722)
close pingcap/tidb#36721
2022-08-01 17:34:05 +08:00
8b919bf893 executor,store/copr: fix index merge, distsql request's key ranges should be sorted (#36633)
close pingcap/tidb#36632
2022-07-29 13:49:12 +08:00
afd71bdefd executor: support dispatch cop request to closest replica adaptively (#35927)
ref pingcap/tidb#35926
2022-07-19 17:59:07 +08:00
0b427e1fd6 *: add tidb_min_paging_size system variable (#36107)
close pingcap/tidb#36106
2022-07-13 22:27:05 +08:00
562bb9f9e2 executor: fix incorrect runtime stats when there are applys (#35919)
ref pingcap/tidb#35889, close pingcap/tidb#35911
2022-07-07 00:49:02 +08:00
328a8bcab8 copr: split copr requests by buckets (#32818)
close pingcap/tidb#32968
2022-03-11 17:01:51 +08:00
17106ff226 *: remove skipping for data race test (#32736)
ref pingcap/tidb#31716
2022-03-02 15:55:46 +08:00
d21552d79c executor: add a scannedKeys in indexWorker, let pushLimited supports partition table (#32548)
close pingcap/tidb#32516
2022-03-02 10:49:46 +08:00
9c64224c49 *: Reduce data inconsistencies (#31547)
ref pingcap/tidb#26833
2022-02-11 13:51:36 +08:00
57beeef5e9 executor: dom.close() in test (#31984)
ref pingcap/tidb#31966
2022-01-26 18:26:45 +08:00
5ea46eaf22 executor: migrate test-infra to testify for distsql_test.go (#31023)
close pingcap/tidb#28574
2021-12-26 18:17:49 +08:00
55a38a1c76 *: tiny clean up the RecordSet NewChunk() method (#29232) 2021-11-02 20:02:51 +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
a9daa4a006 *: Fixed some linter check errors (#25608) 2021-06-26 10:05:23 +08:00
b7c22aa31d kv: remove UnionStore interface (#24625) 2021-05-13 21:29:39 +08:00
f1521632e2 executor: fix a concurrent-access problem caused by accessing a single parser object in session concurrently (#24338) 2021-04-29 18:11:57 +08:00
5c83f0b518 executor: make IndexLookUps in the inner side of IndexJoins support direct reading (#24261) 2021-04-27 17:43:57 +08:00
24d93db762 execution: make IndexLookUpReader support reading partition table directly (#24197) 2021-04-24 17:53:54 +08:00
e104d818cf mocktikv: remove SplitTable and SplitIndex (#24104) 2021-04-20 13:29:52 +08:00
6cdfaab99f planner: fix correlated columns in filter or access in MPP apply (#23509) 2021-03-26 20:21:24 +08:00
3750320899 executor: add close recordSet in executor (#22714) 2021-03-07 17:54: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
b81e547e66 executor: fix err check (#22991) 2021-03-03 19:26:56 +08:00
febac515b1 store/tikv: move coprocessor out (#22922) 2021-03-01 11:42:54 +08:00
56ef0ab2a6 executor: improve the runtime stats of index lookup reader (#21982)
Signed-off-by: crazycs520 <crazycs520@gmail.com>
2020-12-31 17:35:15 +08:00
b204df7051 executor: Implement AppendRows for Chunk (#21057) 2020-11-28 15:14:59 +08:00
32d19b78e1 *: refine runtime stats display and tiny bug fix for metrics (#21022)
Signed-off-by: crazycs520 <crazycs520@gmail.com>
2020-11-26 16:35:25 +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
58f2a48b11 *:add the indexlookup runtime stats infomation (#20145) 2020-10-23 19:33:15 +08:00
761a961ba0 kv: refactor MemBuffer and reduce the memory usage (#18372) 2020-07-15 15:26:25 +08:00
30f6f32708 tests: abstract Cluster interface for introducing new mock... (#16940) 2020-04-30 10:46:55 +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
62e4d588a8 Makefile: add unconvert to inspect unnecessary type convert (#16549) 2020-04-22 23:01:59 +08:00
39ed9f326a executor: Speed up unit tests (#14357) 2020-01-06 21:20:09 +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
8179558274 planner, executor: push limit down into IndexLookUpReader executor (#12262) 2019-09-24 14:16:16 +08:00
e1f2b3728d *: make assertion check more reasonable (#10424)
Make sure there are no "ASSERTION fail" logs in session and executor unit test
2019-07-04 16:20:38 +08:00
d244723a5e executor: remove unused structure RecordBatch (#10891) 2019-06-26 15:26:16 +08:00
45c0e51eca executor: check inconsistent index in IndexLookupExecutor (#10237) 2019-04-28 13:35:19 +08:00
33015e10a9 executor: fix the wrong order by pk desc result and some corner cases for unsigned pk (#10179) 2019-04-19 12:58:25 +08:00
00c4ff4fa9 *: refactor Executor.Next() to receive RecordBatch (#8994) 2019-01-14 15:04:36 +08:00