Commit Graph

695 Commits

Author SHA1 Message Date
0e3737b1b4 metric: fix wrong total-query-counter label (#25402) 2021-06-15 19:44:37 +08:00
1ad33d8da4 ddl: fix drop table show errors (#25071) 2021-06-15 12:46:36 +08:00
bca2f7250f logutil: InitLogger as a more abstract method, deprecated InitZapLogger (#25381) 2021-06-15 10:54:37 +08:00
cc5e161ac0 *: use tikv/client-go/v2 (#25359) 2021-06-11 17:24:35 +08:00
f4e608b8ba util: improve TopSQL reporter memory efficiency (#25195) 2021-06-11 13:16:35 +08:00
10cc21b3d4 ddl,server,store: Fix ineffectual assignment in tests etc. (#25236) 2021-06-11 08:24:35 +08:00
a8ea9a75f2 store/tikv: make failpoints without code generations (#25247) 2021-06-10 17:58:29 +08:00
37472dc06b store/tikv: move region_* into package store/tikv/region (#25205) 2021-06-10 15:54:30 +08:00
d37062fe51 metrics: Add err label for TiFlashQueryTotalCounter (#25317) 2021-06-10 14:28:30 +08:00
e29496c649 server: fix test for clienterrors (#25278) 2021-06-09 21:06:29 +08:00
11f68a9d28 planner: skip some unstable test cases (#25155)
* fixup
2021-06-04 17:33:19 +08:00
fce4dde1cd variable, main: make sure default values for sysvars validate (#24807) 2021-06-03 22:20:26 +08:00
c44b8d118b config: make deadlock history's max size configuable (#24925) 2021-06-03 12:26:26 +08:00
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