Commit Graph

280 Commits

Author SHA1 Message Date
918137a7a4 main: add make coverage_server build option (#11844) 2019-08-26 16:05:43 +08:00
60e4ffeaf5 main : check --config-check should has --config flag specified first. (#11855)
* check --config-check flag should has --config flag specified first.
2019-08-25 22:34:03 -05:00
df2075d745 *: remove the transaction kv count limit (#11141) 2019-08-09 20:35:37 +08:00
c78622848d config, kv: make TxnEntryCountLimit and TxnTotalSizeLimit configurable (#9035) (#9952) (#11058) 2019-07-04 12:23:20 +08:00
540940624a util: add affinity-cpus starting argument (#10773) 2019-07-01 16:13:12 +08:00
a57b6e60a6 *: Add support for MAX_EXECUTION_TIME. (#10541) 2019-06-25 01:18:11 +08:00
b0d6c5b35b *: print an expensive query log when a query is out of memQuota (#10799) 2019-06-18 16:18:48 +08:00
f67352d238 *: print an expensive log when a query exceeds time threshold (#10350) 2019-06-05 20:38:11 +08:00
54e48948d4 *: add config item for bind info lease (#10725) 2019-06-05 17:22:33 +08:00
412f6ef978 config: update pessimistic lock ttl. (#10578) 2019-05-24 11:41:48 +08:00
a4a7ef6440 store,tidb-server: add a morbid flag to indicate tidb server is closing (#10511) 2019-05-23 12:01:38 +08:00
69b02a3736 *: make config items Performance.*, OOMAction and MemQuotaQuery support hot-reloading (#10295) 2019-04-29 16:38:46 +08:00
e5f734e54c *: move the Handle of stats to single package. (#10149) 2019-04-17 13:42:34 +08:00
f514a32b8a config: Stop server startup if an unrecognized option is found in a config file (#9855) 2019-04-08 11:38:10 +08:00
8e0cfc290b config, server: Add http status host (#9814) 2019-03-30 10:50:05 +08:00
d5f0d2bfdd binlog: revert commit for variable tidb_log_bin && add send binlog strategy config (#9864) 2019-03-24 18:26:15 +08:00
792429d330 binlog: update config for backward compatibility (#9688) 2019-03-14 16:53:16 +08:00
0dada1ec37 binlog: update binlog enable config && add tidb_log_bin system variable (#9625) 2019-03-11 22:18:46 +08:00
80110fbf78 *: refactor slow log format and parse slow query log to SLOW_QUERY table. (#9290) 2019-03-11 14:42:29 +08:00
e6f4f6c7f9 server, sessionctx: workaround var initialization (#9383) 2019-02-21 16:19:30 +08:00
46c1cf1c3b tidb-server:Fix misspell (#9380) 2019-02-21 11:39:16 +08:00
8f3c74c1c5 *: support variable log_bin (#9343) 2019-02-20 16:28:15 +08:00
a333cfb536 config: show tidb_force_priority should be same as config (#9342) 2019-02-18 17:33:06 +08:00
84d1513b09 plugin: support flush tidb plugin {name} in tidb-server (#9320) 2019-02-18 13:48:43 +08:00
6136ab14cf *: start replacing logger with zap logger (#9279) 2019-02-15 16:43:47 +08:00
c8727a97cd binlog: update pumps client && open log (#9163) 2019-01-24 14:33:47 +08:00
ec833bc4d2 *: fix some lints produced by golangci-lint (#8999) 2019-01-16 16:44:49 +08:00
41838ceb28 x-server: remove the X Server (#9038) 2019-01-15 10:59:41 +08:00
d298902371 tikvclient: use global config instead write them again (#9040) 2019-01-14 19:46:27 +08:00
4b98ad6f29 *: integrate plugin framework with TiDB (#9006) 2019-01-14 16:53:41 +08:00
504b10c27c server: try graceful close connection first (#8711) 2019-01-11 18:44:53 +08:00
2f54639f14 add binlog socket config for compatible with kafka version pump (#8732) 2018-12-19 13:23:14 +08:00
355a6290a1 ddl: fix a data race in unit test TestTableSplit (#8719) 2018-12-18 11:40:00 +08:00
30427927f6 *: move session.NewStore to store.New to achieve semantic accuracy (#8617) 2018-12-10 20:53:15 +08:00
93a18dfdc5 metrics: add percentage of CPU usage gauge (#8539) (#8580) 2018-12-05 14:47:04 +08:00
9e5cf68dc4 tidb-server: validate txn-local-latches.capacity is not equal to 0 (#8558) 2018-12-05 13:35:05 +08:00
654964a35b server: close connection when tidb server closed. (#8446) 2018-11-27 17:51:47 +08:00
84d1299bb2 config, util.kvcache: support the memory guard to prevent OOM for the plan cache (#8339) 2018-11-22 22:05:04 +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
33a0b0c900 planner: fix a sporadic panic due to the PR #7684 when using the prepared plan cache (#7956) 2018-10-29 19:05:04 +08:00
508f5dd626 binlog: use pumps client to write binlog (#8070) 2018-10-27 17:52:01 +08:00
89dda9d9a8 *: move parser to a separate repository (#8036) 2018-10-25 11:12:10 +08:00
f4d41273ba server: allow cors http request (#7939) 2018-10-21 11:53:36 +08:00
1f84db5cd7 add windows build support (#7773) 2018-09-26 17:09:13 +08:00
f387dfff09 add force priority config (#7777) 2018-09-25 20:28:28 +08:00
e79bd946ed *: change package name from plan to planner (#7760) 2018-09-25 11:16:39 +08:00
6421a405ee tidb-server: set TiDBMemQuotaQuery to the value in configuration file (#7729) 2018-09-17 17:17:01 +08:00
cb03f2bec1 move from juju/errors to pkg/errors (#7151) 2018-09-12 15:42:20 +08:00
4212e44c03 metrics: register the metrics when TiDB starting up (#7642) 2018-09-10 20:19:07 +08:00
f270b105c9 server: add USR1 signal handler to dump goroutine (#7587) 2018-09-03 22:56:01 +08:00