Commit Graph

469 Commits

Author SHA1 Message Date
7c56706622 *: support predeclared golangci-lint linter (#32066)
close pingcap/tidb#30733
2022-02-14 10:35:38 +08:00
638fa8e22f ddl: fix error that pd rules are not deleted when alter TiFlash replica count to 0 (#32192)
close pingcap/tidb#32190
2022-02-10 17:53:36 +08:00
c30e8320d8 *: correct use require (#31904)
ref pingcap/tidb#31716
2022-02-07 18:11:35 +08:00
8b816664c5 domain: fix panic when Domain.Close() (#32053)
close pingcap/tidb#32042
2022-02-07 13:31:35 +08:00
6a53a03fad *: fix extra warnings about MockTiFlash (#31916)
close pingcap/tidb#31909
2022-01-26 20:08:45 +08:00
3c797fdc64 *: fix data races in from MockTiFlash (#31836)
close pingcap/tidb#31830
2022-01-25 16:56:11 +08:00
2e1cff73f3 *: add ExecRestrictedSQL() func for RestrictedSQLExecutor interface (#31618)
ref pingcap/tidb#30918
2022-01-24 21:30:11 +08:00
9c73e5ed23 *: remove the t.Run (#31895)
ref pingcap/tidb#31716
2022-01-22 20:31:46 +08:00
1a146fabd7 variables: add constraints on tidb_super_read_only when tidb_restricted_read_only is turned on (#31746)
close pingcap/tidb#31745
2022-01-20 12:13:45 +08:00
c589ee5471 *: remove direct placement from models (#31816)
close pingcap/tidb#31427
2022-01-20 00:47:45 +08:00
4fcbb2c914 *: fix data race on the SchemaOutOfDateRetryTimes/SchemaOutOfDateRetryInterval (#31815)
close pingcap/tidb#31812
2022-01-19 18:51:45 +08:00
493fe783d7 ddl: Implement basic version of TiFlash replica management (#30842) 2022-01-19 15:13:46 +08:00
2207b26e19 topsql: rename topsql related variable and remove useless variable (#31599)
close pingcap/tidb#31433
2022-01-18 18:15:44 +08:00
76e115accd domain: replace ngaut/sync2 with uber/atomic (#31750)
ref pingcap/tidb#31716
2022-01-18 11:37:44 +08:00
acff9c3cff *: Change stmt summary and capture plan baselines to GLOBAL only (#30756) 2022-01-12 13:29:42 +08:00
8c3c477609 domain: stop dumpColStatsUsageTicker when updateStatsWorker exits (#31489)
ref pingcap/tidb#27828
2022-01-10 17:43:44 +08:00
xhe
84e0518344 executor: show better placement schedule state (#31073)
close pingcap/tidb#30960
2022-01-09 22:16:38 +08:00
5cd37f0008 session: fix data race in ParseWithParamsInternal (#31058)
close pingcap/tidb#30918
2022-01-06 21:02:37 +08:00
ec4da9840d ddl: Wrap TiFlash and its pd rule management into InfoSyncer (#31315)
ref pingcap/tidb#29924
2022-01-06 13:56:37 +08:00
b43c9ffa85 *: migrate sync.WaitGroup to util.WaitGroupWrapper (#31257)
ref pingcap/tidb#29517
2022-01-04 15:04:35 +08:00
c8842307ac domain: Log the tables and schema versions when reporting Information schema is changed (#31182)
close pingcap/tidb#31181
2022-01-04 11:18:35 +08:00
1127977277 *: add global variable @@tidb_cache_table_lease for cached table (#31018)
close pingcap/tidb#29485
2022-01-01 16:13:51 +08:00
974b5784ad topsql: make topsql enable only be controlled by pub/sub sink (#31209) 2021-12-31 16:49:20 +08:00
48fce5e15c *: sync wait stats loading for stable plan (#30026) 2021-12-31 10:35:50 +08:00
8085c99ddf *: implement analyze predicate columns (#30816)
close pingcap/tidb#31102
2021-12-30 15:45:50 +08:00
088a2444df *: persist analyze options for manual and auto analyze (#30939) 2021-12-30 00:39:49 +08:00
e9ab05f90f topsql: move topsql variable to topsql/state for avoid import cycle (#31134)
close pingcap/tidb#31136
2021-12-29 19:51:50 +08:00
fb03dacbca *: periodically dump column stats usage into disk (#31072) 2021-12-28 21:27:51 +08:00
abb6582910 planner: support 'admin flush plan cache' (#30370) 2021-12-27 14:57:49 +08:00
3de13842b3 test: control log level with environment variables (#30871) 2021-12-24 17:03:48 +08:00
feee7c258a server: Add uptime status var and statistics (#29790)
close pingcap/tidb#8842
2021-12-21 17:53:48 +08:00
23c71f1a3b execute: don't transform charset in internal sql (#30843)
close pingcap/tidb#30789
2021-12-20 17:15:46 +08:00
b4df7ca4dc test: make all the tests run in serial (#30692) 2021-12-14 18:06:36 +08:00
9a074f1dbe *: use the real StateRemote interface implementation for cached table (#30066) 2021-12-10 16:55:57 +08:00
89fd69788d *: Retry when placement PutBundles failed (#30590) 2021-12-10 09:35:57 +08:00
7d4895fa96 infosync: close body when ReadAll encounters error (#30462) 2021-12-07 13:27:55 +08:00
0a92c4d133 store: Add metrics for pd api call time (#30062) 2021-12-01 18:49:53 +08:00
7a8c7f89ce server: support download optimize trace file (#30150) 2021-11-26 16:53:51 +08:00
c48db39846 *: support renew lease for read operation on cached table (#29840) 2021-11-22 22:37:49 +08:00
b59d601cc5 *: fix unstable test TestStoreGlobalConfig (#29900) 2021-11-19 11:29:48 +08:00
d3a4187f7e *: Make PD placement api as an interface and add some mock codes (#29696)
* *: Make PD placement api as an interface and add some mock codes

* modify

* add comments

Co-authored-by: Arenatlx <314806019@qq.com>
2021-11-15 14:08:56 +08:00
3d9196ddea *: allow setting @@tidb_tso_client_batch_max_wait_time to a float millisecond (#29699) 2021-11-14 03:29:05 +08:00
93451798a0 domain: fix bug that after 'skip-grant-table', set password doesn't take effect immediately (#29668) 2021-11-11 15:43:05 +08:00
dc67b57c5e *: fix nil pointer panic of some operations when skip-grant-table is true (#29358) 2021-11-03 15:09:00 +08:00
4876801e73 server: let plan replayer support forward request (#29299) 2021-11-02 12:34:51 +08:00
1f39a9f81d *: add two session variables to control the PD client option (#29120) 2021-10-31 00:12:49 +08:00
xhe
476b8957c2 executor: add show placement scheduling_state (#29251) 2021-10-30 16:28:50 +08:00
d6895952df planner: fix outerJoinEliminator couldn't be applied in some cases (#29061) 2021-10-29 12:24:49 +08:00
19a2b3c311 *: store some global variable into PD for global config (#28788) 2021-10-26 19:34:48 +08:00
50b882004c *: set character_set_client for parser properly (#28925) 2021-10-25 20:32:48 +08:00