Commit Graph

106 Commits

Author SHA1 Message Date
3775b248c1 config: refine config file comment (#11933) 2019-08-29 19:21:05 +08:00
6d51ad33fd *: Optimize struct memory usage by adjust field order (#11629) 2019-08-13 17:20:53 +08:00
df2075d745 *: remove the transaction kv count limit (#11141) 2019-08-09 20:35:37 +08:00
d91ed2b7a7 config: add split-region-max-num in config to control the maximum split region number (#11427)
All tests passed, auto merged by Bot
2019-07-31 10:47:40 +08:00
444fb8ce7e store/tikv, config: increase pessimistic lock ttl (#11499) 2019-07-30 13:31:50 +08:00
2640d6d69a config: refine comment (#11272) 2019-07-16 17:03:23 +08:00
fe0ed731e4 ddl: a better way to fix data race against #10900 (#11121) 2019-07-08 16:05:10 +08:00
fba5e6feff lock: add delay clean table lock when session close (#11038) 2019-07-04 14:59:37 +08:00
c78622848d config, kv: make TxnEntryCountLimit and TxnTotalSizeLimit configurable (#9035) (#9952) (#11058) 2019-07-04 12:23:20 +08:00
027851fe3b executor: fix two data races in tests (#11062) 2019-07-04 10:41:48 +08:00
c8d1ff7ca6 *: replace 'logutil.Logger(context.Background())' with 'logutil.BgLogger()' (#10866) 2019-06-21 19:13:31 +08:00
5cd77cdc8d ddl: fix a data race (#10900) 2019-06-21 16:17:22 +08:00
c0dc198b9b store/tikv: fix performance issue under mixed transaction mode (#10847) 2019-06-20 13:16:24 +08:00
b0d6c5b35b *: print an expensive query log when a query is out of memQuota (#10799) 2019-06-18 16:18:48 +08:00
612936bbd4 *: Support LOCK/UNLOCK TABLES feature (#10343) 2019-06-18 15:38:04 +08:00
71e852393b config: fix 'PessimisticTxn' config JSON key (#10820)
Signed-off-by: Lonng <heng@lonng.org>
2019-06-17 17:47:51 +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
373748adf7 *: support pessimistic transaction (experimental feature) (#10297) 2019-05-11 09:48:45 +08:00
69b02a3736 *: make config items Performance.*, OOMAction and MemQuotaQuery support hot-reloading (#10295) 2019-04-29 16:38:46 +08:00
b0f15ba214 docs,config: fix misspell (#10067)
* fix doc

* fix config
2019-04-08 17:39:38 +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
39a21e9eea config: add test for config (#9850) 2019-03-28 16:27:46 +08:00
c451f00814 *: fix utf8 charset upgrade compatibility (#9820) 2019-03-25 18:06:32 +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
a460628095 config: fix config toml file check-mb4-value-in-utf8 problem (#9802) 2019-03-20 10:08:05 +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
6136ab14cf *: start replacing logger with zap logger (#9279) 2019-02-15 16:43:47 +08:00
357f9d7363 metrics: add db QPS metric (#9151) 2019-02-13 19:17:44 +08:00
c83a0ceb95 config: add a config item to control whether TiDB check the mb4 character in utf8 (#9175) 2019-01-25 14:39:30 +08:00
41838ceb28 x-server: remove the X Server (#9038) 2019-01-15 10:59:41 +08:00
4b98ad6f29 *: integrate plugin framework with TiDB (#9006) 2019-01-14 16:53:41 +08:00
319656c407 tikvclient: support to batch grpc message to TiKVs (#8986) 2019-01-14 13:59:15 +08:00
2f54639f14 add binlog socket config for compatible with kafka version pump (#8732) 2018-12-19 13:23:14 +08:00
e3f3ac24f6 session: add a batch commit session variable for the large transaction (#8293) 2018-12-10 18:29:39 +08:00
3b0610f347 config: fix comment typo (#8541) 2018-12-03 17:45:32 +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
2f2b47f511 store/tikv: Make maxTxnTimeUse a configurable value (#8215) 2018-11-12 15:13:13 +08:00
6ccfec6d2e *: add a variable tidb_query_log_max_len to set the max length of the query string in the log dynamically (#8183) 2018-11-06 11:25:11 +08:00
ec693ce502 *: add a variable tidb_slow_log_threshold to set the slow log threshold dynamically (#8094) 2018-11-05 14:54:07 +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
508f5dd626 binlog: use pumps client to write binlog (#8070) 2018-10-27 17:52:01 +08:00
f4d41273ba server: allow cors http request (#7939) 2018-10-21 11:53:36 +08:00
a8f2909d40 *: remove kv.BypassLatch option and enable latch scheduler by default (#7882)
kv.BypassLatch was introduced to handle the fake transaction confliction problem
in the old implementation. After redesign of the latch scheduler, it's not
needed any more.

Enable latch scheduler makes CI to run it, we can fix bugs and make this feature
more stable.
There is a small performance penalty, less than 5%, users are free to disable it.
2018-10-15 13:49:38 +08:00
73cab9252d Fix some misspells (#7830) 2018-10-08 09:40:03 +08:00
f387dfff09 add force priority config (#7777) 2018-09-25 20:28:28 +08:00
cb03f2bec1 move from juju/errors to pkg/errors (#7151) 2018-09-12 15:42:20 +08:00