Commit Graph

397 Commits

Author SHA1 Message Date
1c1faab678 *: convert key to hex for logs (#11781) 2019-08-20 11:10:16 +08:00
2813178979 server: improving test coverage for /debug/zip api (#11760) 2019-08-19 11:21:46 +08:00
adb3071c90 *: refine the attribute definition of types.Time and types.Dur… (#11672) 2019-08-14 11:30:40 +08:00
44292d01e9 server/conn: log more detailed errors (#11731) 2019-08-13 21:04:11 +08:00
6d51ad33fd *: Optimize struct memory usage by adjust field order (#11629) 2019-08-13 17:20:53 +08:00
a08918ab74 fixup (#11688) 2019-08-12 11:53:03 +08:00
036e7e207d *: support new 'log' format for trace (#11681) 2019-08-09 12:43:33 +08:00
3f3ead2d59 executor: fix #10513, alias identifier maximum length compatible with MySQL (#10597) 2019-08-05 19:14:11 +08:00
d2b5387183 infoschema: fix load drop database schema bug and refine db-table api error. (#11573) 2019-08-02 15:03:24 +08:00
7715341cb7 server: tiny refactor, more go style (#11478) 2019-08-01 17:36:05 +08:00
7b63293180 http: add region-id when getting mvcc by handle (#11436) 2019-08-01 13:10:39 +08:00
8f51214533 server: move log operation out of lock scope (#11536)
It's a bad style to print log under a lock, tiny refactor to make the code better.
Lock() is also changed to RLock() to reduce lock contend
2019-07-31 17:24:44 +08:00
730e1408cf server: remove the error stack in logs when connection reset by client (#11542)
All tests passed, auto merged by Bot
2019-07-31 16:54:15 +08:00
a13671a02e server: fix format for select constant (#9689) 2019-07-31 13:52:39 +08:00
6ba79d4d44 fix http handler ut (#11494)
Signed-off-by: Shuaipeng Yu <jackysp@gmail.com>
2019-07-29 13:33:54 +08:00
d135ff161f server: handle partitioned table in some http APIs (#11463) 2019-07-26 20:07:43 +08:00
99e4dd4c3c fix a coding mistake (#11393) 2019-07-24 11:34:28 +08:00
651632e792 fix scatter range (#11281)
Signed-off-by: Ryan Leung <rleungx@gmail.com>
2019-07-17 20:49:36 +08:00
77b6858bf0 *: refine text protocol multiple query response (#11263) 2019-07-17 13:01:22 +08:00
eae30ebbcb *: reduce tikvrpc resp struct size (#11056) 2019-07-16 13:21:00 +08:00
d420a1f212 *: reduce tikvrpc request size (#11055) 2019-07-15 16:11:14 +08:00
tp
ad404bb645 *: avoid tidb-server -h output test flags (#11209) 2019-07-12 15:19:57 +08:00
84432823b3 refactor the logic of load data batch insert, make batchCheckGet happen once per transaction (#11132) 2019-07-12 13:36:58 +08:00
5664dd2abc infochema, server: export region_id in hot_region table (#10982) 2019-07-11 12:44:55 +08:00
8c20289c7d server: don't interrupt when nodelay executed (#11135) 2019-07-10 19:28:19 +08:00
66f5754c68 *: add trace support for the AllocAutoIncrementValue function (#11158) 2019-07-10 15:07:42 +08:00
8104494b91 plugin: support dynamic enable/disable plugins (#11122) 2019-07-09 13:02:50 +08:00
cb23b524ac *: directly save prepare execute args as datums in binary proto (#10884) 2019-07-02 13:49:06 +08:00
0d563f1e2d stats: fix unstable test (#10953) 2019-06-27 13:51:16 +08:00
98274ccbf2 plugin: setup connection info in session when audit plugin be enabled (#10923) 2019-06-27 11:29:40 +08:00
d244723a5e executor: remove unused structure RecordBatch (#10891) 2019-06-26 15:26:16 +08:00
54bd043d35 server: tiny update ConnTestSuite (#10941) 2019-06-26 14:37:27 +08:00
a57b6e60a6 *: Add support for MAX_EXECUTION_TIME. (#10541) 2019-06-25 01:18:11 +08:00
29b872c6aa server: increase test coverage (#10830)
* fixed a potential panic in conn.go
* added more tests in conn_test.go/util_test.go
* added column_test.go/packetio_test.go
2019-06-24 20:30:04 +08:00
91ab534be3 server: add http api to get some info of sub-optimal query (#10717) 2019-06-24 16:59:52 +08:00
c8d1ff7ca6 *: replace 'logutil.Logger(context.Background())' with 'logutil.BgLogger()' (#10866) 2019-06-21 19:13:31 +08:00
421de5ef20 executor,server: re-implement the kill statement by checking the Next() function (#10841) 2019-06-20 11:03:21 +08:00
b0d6c5b35b *: print an expensive query log when a query is out of memQuota (#10799) 2019-06-18 16:18:48 +08:00
0550bacd2b store: improve ut coverage for store (#10525) 2019-06-18 13:51:00 +08:00
f67352d238 *: print an expensive log when a query exceeds time threshold (#10350) 2019-06-05 20:38:11 +08:00
183648f44f statistics: support dump/load correlation of histogram (#10573) 2019-05-23 11:24:44 +08:00
31773287be *: remove useless defer and setReadTimeout (#10441) 2019-05-14 16:35:40 +08:00
990e256fe7 server: fix panic in api regions/meta (#10222) 2019-05-09 17:45:11 +08:00
d8589df2f3 *: add a variable to control the back off time and disable txn auto retry by default (#10266) 2019-05-08 10:23:49 +08:00
478990451c server, statistics: support dump history stats (#10291) 2019-05-07 14:59:38 +08:00
69b02a3736 *: make config items Performance.*, OOMAction and MemQuotaQuery support hot-reloading (#10295) 2019-04-29 16:38:46 +08:00
c2b975b217 server: fix TestTLS when use RSA-PSS (#10274) 2019-04-26 10:12:45 +08:00
154fc6013c server: force TestTLS use tls1.2 before support it (#10253) 2019-04-24 23:08:12 +08:00
6ba69f2aad plan, executor: pre with labels for metrics in conn/session (#10232) 2019-04-22 20:51:46 +08:00
76e0a91694 infoschema: add mem table to show hot region (#10106) 2019-04-18 17:41:53 +08:00