Commit Graph

392 Commits

Author SHA1 Message Date
71d5774832 main: Fix logging setup (#31673)
close pingcap/tidb#31672
2022-01-14 16:31:42 +08:00
25d6301327 *: fix bug of profiling conflict between TopSQL and pprof profile HTTP API (#30891)
close pingcap/tidb#30890
2021-12-31 11:07:50 +08:00
3de13842b3 test: control log level with environment variables (#30871) 2021-12-24 17:03:48 +08:00
04a387c1d0 tidb-server: return 1 while failing to set cpu affinity (#30197) 2021-12-02 10:45:53 +08:00
d6e9986aa1 *: remove unused profile memory tracker from global tracker (#30143) 2021-11-25 18:35:51 +08:00
86caab907c tidb-server: add warning when the failpoint is enabled in tikv/client-go (#29452) 2021-11-04 20:05:02 +08:00
f3cc7044b4 config, main: change default socket to include port (#29332) 2021-11-02 12:14:52 +08:00
da76e34953 *: add support for --initialize-secure and --initialize-insecure (#28487) 2021-10-27 14:38:49 +08:00
1d1f1d27e4 main: show default for socket correctly (#29042) 2021-10-27 13:56:49 +08:00
c9f33cbd88 session: add session var to update global logger max days (#27595) 2021-10-27 10:14:48 +08:00
fa82cd47ec domain, session: add plan replayer gc (#28799) 2021-10-15 11:13:27 +08:00
xhe
94e30df8e2 parser: fix compiling, add unit tests (#28700) 2021-10-11 23:15:25 +08:00
1a0770b235 tidb-server: prevent the misuse of the terror API (#28438) 2021-10-09 16:37:24 +08:00
75d55feda4 main: fixed an issue that closing nil chan would cause panic on cleanup (#27753) 2021-09-07 00:38:57 +08:00
a8cea798b9 main, config: set mysql.ServerVersion and variable.Version equals to cfg.ServerVersion (#27791) 2021-09-03 16:48:56 +08:00
207eb3be89 main: update variable.Version equals to ServerVersion which set in the configuration file(#27210) (#27731) 2021-09-02 11:42:14 +08:00
7755d25aba *: Integrate SkyWalking-eyes to check license headers in CI and fix licenses headers (#27198) 2021-08-16 18:52:00 +08:00
5de5fa4afc tidb-server: migrate test-infra to testify (#27144) 2021-08-14 14:33:58 +08:00
01a87e3257 *: solve cloud tikv disk full problem (#26302) 2021-08-08 13:21:13 +08:00
2e00c6a32d main: Don't log error for syncing /dev/stdout (#25703) 2021-07-05 12:13:28 +08:00
f1a8e7d068 *: update tikv/client-go to improve failpoint performance issue (#25797) 2021-06-29 15:57:25 +08:00
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