Commit Graph

371 Commits

Author SHA1 Message Date
bca2f7250f logutil: InitLogger as a more abstract method, deprecated InitZapLogger (#25381) 2021-06-15 10:54:37 +08:00
da23dd7b13 config: add config for tidb_enforce_mpp and remove the global scope of it. (#25369) 2021-06-11 19:14:35 +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
acdacf186a util: add top sql collector (#24988) 2021-06-04 22:56:28 +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
ca3d88eba5 store/tikv: make pub vars related to region to private and add functions to set & get (#25044) 2021-06-02 16:08: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
8dc21198c9 *: fix sysvar inconsistencies/potential bugs (#24964) 2021-06-01 11:49:37 +08:00
bbd5b32c2f *: clean up the logging component (#23534) 2021-06-01 10:43:37 +08:00
39bd181213 *: Upgrade to go 1.16 && remove deprecated io/ioutil (#24527) 2021-05-25 12:07:34 +08:00
8ad868f801 *: Add security enhanced mode part 3 (#24412) 2021-05-17 12:45:38 +08:00
c90f48d80d *: typo fix (#24564) 2021-05-13 13:07:39 +08:00
081291b06e *: the value of tikv-client.store-liveness-timeout should not less than 0 (#24244) 2021-05-12 18:51:40 +08:00
xhe
cd25915b51 tidb-server: handle the help manually (#24073) 2021-04-16 13:41:52 +08:00
4072172c05 *: add security enhanced mode part 1 (#23978) 2021-04-15 09:51:51 +08:00
xhe
a347ad9282 server: clean up global variables (#23864) 2021-04-06 23:32:31 +08:00
xhe
9f388deb62 *: remove uselss reloadFunc (#23367) 2021-03-18 10:02:55 +08:00
5e832ed80a store/*: mv tikv_driver to dir store/driver (#22942) 2021-02-25 18:49:18 +08:00
4031706e32 gcworker: remove handler interface (#22779)
Signed-off-by: disksing <i@disksing.com>
2021-02-18 12:09:31 +08:00
6483b7dc29 store/tikv_driver: move gcworker into tikv_driver (#22698)
Co-authored-by: disksing <i@disksing.com>
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2021-02-05 17:34:54 +08:00
b35e15c8cf store:move tikv/gcworker to store/gcworker (#22678)
Signed-off-by: shirly <AndreMouche@126.com>
2021-02-03 15:16:28 +08:00
6c1a6dd631 store/tikv: move tikv driver out (#22651)
Co-authored-by: Shirly <wuxuelian@pingcap.com>
2021-02-02 16:28:54 +08:00
6c4401fcff store/tikv, util: move storeutil to store/tikv (#22522)
Signed-off-by: disksing <i@disksing.com>
2021-01-26 13:49:07 +08:00
4f44c0db21 tidb-server: throw error when starting with multi advertise address (#21603) 2020-12-23 16:32:59 +08:00
5acff8de7a *: Revert "#19008" and "#18788" (#21599) 2020-12-14 15:06:35 +08:00
7e1289ba99 *: fix unable to configure memory-usage-alarm by config file. (#21196) 2020-11-25 12:22:54 +08:00
269494e3de *: Move sysvar validation to struct (3 of 3) (#20521) 2020-11-12 13:22:42 +08:00
386fb465a2 config: add GOGC under performance section (#20872) 2020-11-09 11:55:41 +08:00
272f964031 executor: support global kill (#17649) 2020-10-27 19:39:20 +08:00
cd16de894b *: introduce LRUCache with limited memory for statistics (#18788) 2020-10-15 17:36:21 +08:00
fa81ec51b4 *: refactor sysvars to allow component registration (#20289) 2020-09-29 14:04:24 +08:00
7a04d2589c *:Bug fix/Sign in failed: Failed to connect to TiDB in tiup dashboard (#20098)
Signed-off-by: jyz0309 <45495947@qq.com>
2020-09-21 12:05:37 +08:00
d8e43216e0 *: add index-usage-sync-lease config variable (#19842) 2020-09-16 20:19:52 +08:00
5435980006 store/tikv: implement async commit version of resolve locks (#18467) 2020-09-09 08:09:51 +08:00
Lan
eadee48cc5 tidb-server: fix wrong help prompt about store (#19375)
* fixd wrong help prompt

* fix wrong help prompt

* add space

Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-08-27 17:49:22 +08:00
xhe
963b82a0d7 tidb-server: try best to get a meaningful IP (#18786) 2020-08-25 16:18:04 +08:00
2c2ff934b2 util: rewrite parser warings for integer display width (#18775) 2020-08-24 14:52:29 +08:00
0d997f2b8b update pd / br / unistore / tidb-tools dependencies (#19323) 2020-08-20 16:55:34 +08:00
92513a2f4d util: create the tmpdir if the directory is removed by mistake. (#18970) 2020-08-18 22:10:44 +08:00
b3b6c36b08 metrics: monitoring GOMAXPROCS (#18987)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-08-05 19:15:54 +08:00
a99fdc098c statistics: ease the impact of stats feedback on cluster (#15503) 2020-07-08 19:53:04 +08:00
0fa199d170 config: fix incorrect initialization of store-liveness-timeout (#18265) 2020-06-29 20:27:11 +08:00
66c8e10e6e kv: make txn entry size limit configurable (#18231) 2020-06-29 12:03:10 +08:00
de6b82ef72 config: Revise SimpleLRUCache Configuration (#17532) 2020-06-18 19:48:33 +08:00
a8da23c254 test: fix data race caused by update global config (#17964)
Co-authored-by: pingcap-github-bot <sre-bot@pingcap.com>
2020-06-12 13:05:27 +08:00
3325840e7b tidb-server: make max-procs in config file take effect under cgroups (#17706)
* tidb-server: make max-procs in config file take effect under cgroups

* rearrange code

Co-authored-by: pingcap-github-bot <sre-bot@pingcap.com>
Co-authored-by: lysu <sulifx@gmail.com>
2020-06-06 12:49:54 +08:00
4a67c3a43c *: fix setHeapProfileTracker panic on Windows (#17226) 2020-05-18 22:16:45 +08:00
ac30f5322e mockstore: introducing embedded unistore (#17156) 2020-05-18 17:28:44 +08:00