Commit Graph

285 Commits

Author SHA1 Message Date
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
c201eb7335 config, session: keep the default value of mem-quota-query when upgrade from 3.0 to 4.0.9+ (#21305) 2020-11-26 17:12:51 +08:00
f9f44d0a49 config: hide & deprecate enable-streaming (#20760) 2020-11-14 01:22:25 +08:00
9af236c1b7 tikv: support external consistency when async commit is on (#20276)
Signed-off-by: Yilin Chen <sticnarf@gmail.com>
2020-11-12 14:43:23 +08:00
8eaccd41a9 variable: add txn_scope sys var (#20721) 2020-11-12 11:09:54 +08:00
386fb465a2 config: add GOGC under performance section (#20872) 2020-11-09 11:55:41 +08:00
6e1aa0d765 *: restrict the length of enum/set value (#19109) 2020-11-04 19:10:02 +08:00
3ba36dcb76 config, server: Add graceful shutdown option (#20649) 2020-11-03 22:55:32 +08:00
382bd9e0fd txn: Support 1PC for transactions that only have one prewrite request (#20313)
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
2020-11-03 13:11:40 +08:00
e102c12479 planner, config: Enable plan cache by default (#20416) 2020-10-29 23:00:26 +08:00
fd84a91895 ddl, tikv: add delay during AddIndex DDL and remove schema check for async commit (#20550) 2020-10-28 11:48:34 +08:00
272f964031 executor: support global kill (#17649) 2020-10-27 19:39:20 +08:00
2f067c0542 *: redact arguments for Error (#20436) 2020-10-21 14:44:08 +08:00
bdb6c49600 *: collect index usage information from point get and dump them to KV (#20126) 2020-10-16 16:17:34 +08:00
cd16de894b *: introduce LRUCache with limited memory for statistics (#18788) 2020-10-15 17:36:21 +08:00
9958875f40 util: record sqls and heap profile when memory usage is higher than 80% system memory. (#18858) 2020-10-15 16:52:14 +08:00