Commit Graph

300 Commits

Author SHA1 Message Date
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
b84911db27 config: add example config line for sem (#25315) 2021-06-10 14:02:29 +08:00
c44b8d118b config: make deadlock history's max size configuable (#24925) 2021-06-03 12:26:26 +08:00
bbd5b32c2f *: clean up the logging component (#23534) 2021-06-01 10:43:37 +08:00
702c86b8f9 *: add global/instance variable to config top sql (#24934) 2021-05-31 15:17:36 +08:00
1ae28529ab store/tikv: remove ServerMemoryQuota from tikv config (#24620) 2021-05-27 11:03:35 +08:00
2580240dde *: pass sql, plan digest down to KV request (#24854) 2021-05-25 15:47:33 +08:00
39bd181213 *: Upgrade to go 1.16 && remove deprecated io/ioutil (#24527) 2021-05-25 12:07:34 +08:00
c90f48d80d *: typo fix (#24564) 2021-05-13 13:07:39 +08:00
b0dfa746bf *: fix gosimple check (#24460) 2021-05-10 12:56:43 +08:00
ef42b8e4b5 store/tikv: new config TxnScope in tikv config (#24035) 2021-04-21 11:55:53 +08:00
873fbfd087 config: typo fix for distinct-agg-push-down (#24011) 2021-04-16 18:25:52 +08:00
4072172c05 *: add security enhanced mode part 1 (#23978) 2021-04-15 09:51:51 +08:00
e248a26eea config: add a test for config.toml.example (#23766) 2021-04-02 07:51:24 +08:00
7b4817da9d config: remove redundant backslash (#23771) 2021-04-01 08:59:24 +08:00
f64856bba0 store/tikv: enlarge default committer-concurrency to avoid queuing (#23720) 2021-04-01 01:35:24 +08:00
6dba91b630 config: remove index-usage-sync-lease from config.toml.example (#23740) 2021-03-31 18:43:24 +08:00
aee5819a20 *: change @@tidb_enable_clustered_index to ON/OFF/INT_ONLY (#23529) 2021-03-26 15:59:24 +08:00
b1c8ede13f *: hide index-usage-sync-lease config (#23349) 2021-03-22 18:47:36 +08:00
6f34626d92 config: add no delay option for tcp connection (#22757) 2021-03-19 19:03:36 +08:00
96a0cda96e go.mod: update BR dependency to the latest (#23429) 2021-03-19 15:45:36 +08:00
ab19f061bd store/tikv: Support forwarding via follower when the region's leader is unreachable (#23244)
Co-authored-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
2021-03-18 20:34:14 +08:00
901891ae1f *: hide the config global-kill and session var tidb_enable_index_merge_join (#23395) 2021-03-18 17:09:53 +08:00
411dba25b1 *: deprecate alter-primary-key configuration (#23270) 2021-03-18 15:17:36 +08:00
xhe
9f388deb62 *: remove uselss reloadFunc (#23367) 2021-03-18 10:02:55 +08:00
0bfef64e2f config: add pd client option to enable request redirection (#23025) 2021-03-16 18:22:55 +08:00
07b19e0f90 config: disable prepare plan cache by default (#23240) 2021-03-11 16:26:19 +08:00
610ac87e0b config: deprecate tikv-client.copr-cache.enable and invisible some copr-cache configs (#22786) 2021-03-10 15:37:51 +08:00
b336f83c34 config: fix err check (#22987) 2021-03-01 20:04:54 +08:00
e2fdb00e62 config: fix data race caused by config.Labels (#22977) 2021-03-01 16:02:54 +08:00
4a413a4d61 config: remove async commit configs from example (#22945) 2021-02-26 17:30:53 +08:00
daf3337a43 oracle: make @@txn_scope only support local and global (#22784) 2021-02-25 15:26:03 +08:00
825c98f3cc config: use label key instead of txn-scope (#22639)
Signed-off-by: Song Gao <disxiaofei@163.com>
2021-02-04 12:08:15 +08:00
85a96694b0 store/tikv:remove tidb/config from store/tikv (#22606)
Signed-off-by: shirly <AndreMouche@126.com>
2021-02-01 18:08:47 +08:00
dd6b31a116 store/tikv:move definition of TiKVClient to store/tikv (#22563)
Signed-off-by: shirly <AndreMouche@126.com>
2021-01-28 11:40:31 +08:00
fbcf75acc9 store/tikv: refactor: remove import tidb.config.security in store/tikv (#22538)
Signed-off-by: shirly <AndreMouche@126.com>
2021-01-27 12:08:24 +08:00
2bf2a82a3d config, store: add a config to control the PD server timeout duration (#22138)
Signed-off-by: JmPotato <ghzpotato@gmail.com>
2021-01-05 14:10:45 +08:00
c40d7833b8 config, session: promise the compatibility of oom-action when upgrading (#22102) 2020-12-30 21:14:14 +08:00
d6ebb3707d config: disable statistics feedback by default (#21923) 2020-12-23 19:49:00 +08:00
efc0759961 *: add enable-global-kill with default value FALSE (#21859) 2020-12-17 20:48:34 +08:00
ce704c8f89 config, ddl: make TableColumnCountLimit configurable or be compatible with MySQL (#21612) 2020-12-17 17:05:50 +08:00
d878fe193b executor: introduce new variables to control Apply's behaviors and add more tests for it (#20844) 2020-12-15 14:31:25 +08:00
ab9cd019be *: make expression index as an experiment feature (#21721)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2020-12-14 20:52:44 +08:00
5acff8de7a *: Revert "#19008" and "#18788" (#21599) 2020-12-14 15:06:35 +08:00
254ee2db27 store: support maintaining labels in Store (#21565) 2020-12-10 11:47:38 +08:00
5d9bb45815 config: add tcp4only for lvs whitelist! (#21552) 2020-12-09 14:44:35 +08:00
1b12071e52 coprocessor: Support changing maxRanges (#21542) 2020-12-08 13:36:17 +08:00
f0370c96d6 config: Add index limit configuration (#21192) 2020-12-02 12:56:18 +08:00
0e2f18d8f9 store, config, session: Use system variables to enable async commit and 1PC (#21365)
* add a system variable for enabling async commit

Signed-off-by: ekexium <ekexium@gmail.com>

* remove async commit enable config item

Signed-off-by: ekexium <ekexium@gmail.com>

* add a system variable for enabling 1PC

Signed-off-by: ekexium <ekexium@gmail.com>

* try to fix test

Signed-off-by: ekexium <ekexium@gmail.com>

* remove 1pc item in config

Signed-off-by: ekexium <ekexium@gmail.com>

* try to fix test

Signed-off-by: ekexium <ekexium@gmail.com>

* correct the condition to enable 1pc

Signed-off-by: ekexium <ekexium@gmail.com>

* do not enable 1pc/async commit on bootstrap if store is not tikv

Signed-off-by: ekexium <ekexium@gmail.com>

* refactor checkAsyncCommit

Signed-off-by: ekexium <ekexium@gmail.com>

* fix test: enable async commit or 1PC by setting txn options

Signed-off-by: ekexium <ekexium@gmail.com>

* add a system variable for external consistency

Signed-off-by: ekexium <ekexium@gmail.com>

* remove external consistency config item

Signed-off-by: ekexium <ekexium@gmail.com>

* refactor: checkXXX does not need parameters

Signed-off-by: ekexium <ekexium@gmail.com>

* refactor: add a helper function to pessimistic_test

Signed-off-by: ekexium <ekexium@gmail.com>

* change allowed scope to global or session

Signed-off-by: ekexium <ekexium@gmail.com>

* fix external consistency test

Signed-off-by: ekexium <ekexium@gmail.com>

Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-12-02 11:49:57 +08:00