Commit Graph

682 Commits

Author SHA1 Message Date
7811bf9a37 *: use pprof profile to collect CPU time group by SQL and plan digest (#24892) 2021-06-02 12:51:39 +08:00
bbd5b32c2f *: clean up the logging component (#23534) 2021-06-01 10:43:37 +08:00
f3557bb591 planner, executor: supports select statement with AS OF (#24613) 2021-05-27 21:11:35 +08:00
0199b402e4 server/http_handler: use func in helper instead of use tikvrpc directly (#24823) 2021-05-25 17:23:34 +08:00
39bd181213 *: Upgrade to go 1.16 && remove deprecated io/ioutil (#24527) 2021-05-25 12:07:34 +08:00
d1b3e47111 server, store: speed up server test (#24833) 2021-05-25 10:37:33 +08:00
8fb29eb17e kv: move TxnScope into kv (#24715) 2021-05-19 20:01:42 +08:00
18cbfaac15 *: enable gosimple linter (#24617) 2021-05-14 09:15:38 +08:00
1c4fbfce50 server: close the temporary session in HTTP API to avoid memory leak (#24339) 2021-05-13 18:47:39 +08:00
6a69ee70ca store/driver: move error to single package (#24549) 2021-05-12 20:41:40 +08:00
b1d134d7d9 txn: Add txn state's view (#22908) 2021-05-12 19:25:40 +08:00
bd011d3c95 store/tikv: make tikv.ErrTiFlashServerTimeout as a normal error instead of dberror (#24385) 2021-05-08 10:54:44 +08:00
4127c6b19a server: add MVCC API for secondary index with common handle (#24436) 2021-05-07 20:18:51 +08:00
6bea505237 store/tikv:move error from kv into package error (#24294) 2021-04-27 15:21:56 +08:00
a6bde1e4ef ddl: add http api to set customized ddl hook for remote ticase test (#24198) 2021-04-27 14:57:56 +08:00
67e63d9ffa variable: merge Bool{On,Off} with {On,Off} (#24218) 2021-04-23 13:09:54 +08:00
76ba3c84ac store/tikv: move mocktikv into tikv (#24099) 2021-04-19 12:07:52 +08:00
xhe
d8707ab54f server: stable test (#24040) 2021-04-16 10:43:51 +08:00
xhe
6ef04f61a2 server: make golangci-lint happy (#24039) 2021-04-15 15:49:55 +08:00
a53cf42075 execdetails: move execdetails to store/tikv (#23985) 2021-04-15 15:13:55 +08:00
1e2cbf9a22 store/tikv: use []byte instead of kv.Key in package store/tikv (#23859) 2021-04-13 12:39:52 +08:00
24a53c392f tikv/region_cache:use []byte instead of kv.Key in KeyLocation (#23957) 2021-04-13 10:53:50 +08:00
8913c8c1d7 store/tikv:remove "tidb/tablecodec" from snapshot.go (#23686)
Signed-off-by: shirly <AndreMouche@126.com>
2021-04-07 16:16:50 +08:00
9c75cfa4e2 server, sessionctx: improved mysql compatibility with support for init_connect (#23713) 2021-04-03 02:45:25 +08:00
5f8ec4b904 plugin: fix audit plugin will cause tidb panic (#23803) 2021-04-02 08:07:24 +08:00
2c83f2db18 server: fix Setting wait_timeout to 0 doesn't take effect #23351 (#23443) 2021-04-01 12:01:24 +08:00
f9708e6043 *: collect transaction write duration/throughput metrics for SLI/SLO (#23462) 2021-03-30 11:19:24 +08:00
f08e76cb1c store/tikv/kv:move tikv/error.go to tikv/kv/error.go (#23627) 2021-03-30 11:03:23 +08:00
76d48c1fec executor, server: load_data.go is changed and add unit test (#23201) 2021-03-29 15:45:24 +08:00
aee5819a20 *: change @@tidb_enable_clustered_index to ON/OFF/INT_ONLY (#23529) 2021-03-26 15:59:24 +08:00
a909037110 planner/core: inject project for tiflash agg (#23480) 2021-03-26 12:31:23 +08:00
f9deac177f server: do not set opentracing span context unnecessarily (#23326) 2021-03-25 17:23:24 +08:00
fab0b934a4 server: set connection to TCP socket when unix and TCP used (#23463) 2021-03-24 19:11:37 +08:00
aa3f0414d9 store/copr: return ErrTiFlashServerTimeout when MPP meets network error (#23434)
Co-authored-by: Ti Chi Robot <71242396+ti-chi-bot@users.noreply.github.com>
2021-03-24 15:24:09 +08:00
1cebae21a7 planner, sessionctx: turn on the mpp by default (#23401) 2021-03-23 21:01:37 +08:00
6f34626d92 config: add no delay option for tcp connection (#22757) 2021-03-19 19:03:36 +08:00
3cfb984211 server: fix err check (#22999) 2021-03-18 10:28:56 +08:00
26ccbe972a *: create int primary key table as nonclustered by default (#23046) 2021-03-16 19:19:49 +08:00
cad8e15db2 store/tikv: remove kv.Snaphost from store/tikv (#23318) 2021-03-15 18:54:55 +08:00
035c15f7da *: rename tiflash fallback switch (#22886)
Co-authored-by: Ti Chi Robot <71242396+ti-chi-bot@users.noreply.github.com>
2021-03-12 18:21:48 +08:00
413ba4c30e server: add tiflash fallback testcase (#23248)
Co-authored-by: Yiding Cui <winoros@gmail.com>
2021-03-12 14:39:05 +08:00
c4f398948c *: add infoschema client errors (#22382) 2021-03-11 19:06:55 +08:00
9fe1bded7a remote unary cop tiflash fallback (#23226)
Co-authored-by: Ti Chi Robot <71242396+ti-chi-bot@users.noreply.github.com>
2021-03-10 19:01:33 +08:00
610ac87e0b config: deprecate tikv-client.copr-cache.enable and invisible some copr-cache configs (#22786) 2021-03-10 15:37:51 +08:00
1ae9bfad71 server: refine tiflash fallback testcase (#23103) 2021-03-09 19:58:55 +08:00
01be9ce226 server: add HTTP API to enable/disable async commit and 1PC (#23115) 2021-03-09 11:48:54 +08:00
4a598acf63 store/copr: polish the tiflash-tikv fallback function. (#23078) 2021-03-04 20:42:54 +08:00
602bcd2e40 *: fix some structcheck lint warnings (#22983) 2021-03-02 23:12:54 +08:00
4e44674615 server: support MVCC-get HTTP API for clustered index (#22904) 2021-03-01 19:48:54 +08:00
bc37f088ba *: fix some varcheck lint warnings (#23011) 2021-03-01 15:10:54 +08:00