Commit Graph

49 Commits

Author SHA1 Message Date
1c1faab678 *: convert key to hex for logs (#11781) 2019-08-20 11:10:16 +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
7b63293180 http: add region-id when getting mvcc by handle (#11436) 2019-08-01 13:10:39 +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
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
5664dd2abc infochema, server: export region_id in hot_region table (#10982) 2019-07-11 12:44:55 +08:00
c8d1ff7ca6 *: replace 'logutil.Logger(context.Background())' with 'logutil.BgLogger()' (#10866) 2019-06-21 19:13:31 +08:00
990e256fe7 server: fix panic in api regions/meta (#10222) 2019-05-09 17:45:11 +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
76e0a91694 infoschema: add mem table to show hot region (#10106) 2019-04-18 17:41:53 +08:00
3ad3b3d00b server: change db-table/{table_partition_id} http api (#10026) 2019-04-12 11:19:53 +08:00
7acbe520f4 server: move out some code from http_handler.go (#10071) 2019-04-09 13:46:15 +08:00
9f282f7b00 server: return mvcc key and value for mvcc http api (#9932) 2019-04-02 17:29:38 +08:00
e31e8f1560 *: reduce runtime.growslice by preallocation (#9946) 2019-03-31 10:31:06 +08:00
c451f00814 *: fix utf8 charset upgrade compatibility (#9820) 2019-03-25 18:06:32 +08:00
5ffa06b6c3 *: unify and normalize the format of the log in the pkg of server (#9878) 2019-03-25 16:10:36 +08:00
a8664ef00b table: add a http api to control whether tidb check inserting 4 bytes in utf8 charset column (#9024) 2019-02-18 16:57:03 +08:00
6136ab14cf *: start replacing logger with zap logger (#9279) 2019-02-15 16:43:47 +08:00
5f8265a8f9 server: adjust the result of curl * (#9104) 2019-01-17 20:13:24 +08:00
ec833bc4d2 *: fix some lints produced by golangci-lint (#8999) 2019-01-16 16:44:49 +08:00
7bf23e8c47 server: add hot region table/index api (#7890) 2018-12-21 18:18:36 +08:00
c137cada68 *: change golang.org/x/net/context to standard context (#8579) 2018-12-05 13:54:00 +08:00
1e0876fe81 server/http: fix scatter table API and add document (#8424) 2018-11-23 19:47:36 +08:00
bb1f239516 http: add http api for get db and table info that is related to the tableID (#8256)
* http: add http api for get db and table info that is related to the tableID
2018-11-22 21:52:05 +08:00
32b1dbd8d5 *: rename "github.com/pkg/errors" to "github.com/pingcap/errors" (#8136)
We import "github.com/pkg/errors" in the code, and actually put
the "github.com/pingcap/errors" there in the vendor path.
That's a dirty hack, and prevent the introduce of Go module.
2018-11-01 16:09:07 +08:00
89dda9d9a8 *: move parser to a separate repository (#8036) 2018-10-25 11:12:10 +08:00
cb03f2bec1 move from juju/errors to pkg/errors (#7151) 2018-09-12 15:42:20 +08:00
f497444389 server: support resigning ddl owner, use http method ddl/owner/resign (#7649) 2018-09-11 15:18:17 +08:00
e7409e38ee *: correct comment mistakes. (#7661) 2018-09-11 09:41:30 +08:00
0f7bc02700 docs: remove not worked MVCC api (#7400) 2018-08-17 18:31:32 +08:00
9fc67b9a9f store TiDB server info to PD and add http api handle (#7082) 2018-08-15 12:51:00 +08:00
43f0c1ee70 ddl: add slow operations log to add indices, make trouble shooting easier. (#7060) 2018-07-17 09:42:58 +08:00
879db103b3 http: support change log level. (#6604)
So we don't need to restart the server to change the log level, useful for debug.
2018-05-22 22:04:09 +08:00
11e7f5bf97 binloginfo: fix a data race on global.Config() in the unit test (#6548) 2018-05-14 22:19:11 -05:00
7f2b3bd899 *: Add an option to stop writting binlog when TiDB meets binlog error (#6503)
Add an option to stop writting binlog when meets binlog error
Provide http interface to recover binlog service
2018-05-11 09:50:15 -05:00
84b08bf2f6 http: revert log_level change (#6525)
log level is not accessed atomically in this version, cause race issue.
2018-05-10 16:36:34 +08:00
8e59d40831 sever: add HTTP API to change log level dynamically. (#6513) 2018-05-09 19:31:01 +08:00
e5ab00e5e3 http: scatter table API for table handler (#6378)
* http: scatter table API for table handler
2018-05-03 20:09:14 +08:00
d3290b936b HTTP API: support query the DDL history (#6245) 2018-04-16 11:15:48 +08:00
f287451eed tidb: move tidb/*.go to session directory (#6062)
This change makes our top level directory clean.
2018-03-20 09:06:11 -05:00
8fa4980ae0 server, tablecodec: show region key's record id or index values. (#6030) 2018-03-20 16:01:46 +08:00
8f4f9b6c90 http: refactor region handler. (#6051) 2018-03-15 18:19:14 +08:00
831c93f645 server, docs: change rowBin to request. (#5983) 2018-03-09 15:35:52 +08:00
0b7bf3eef5 server: support decode column (#5927) 2018-03-07 20:46:31 +08:00
cddc45a7b4 server: add http api for settings (#5860) 2018-03-07 10:21:38 +08:00