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
2f19c5ba15
tikvclient: add gzip compression type support for tidb grpc channel ( #20438 )
2020-10-14 11:02:25 +08:00
6fd073cd84
config: check if valid storage by simple indexing ( #19535 )
2020-10-04 14:12:21 +08:00
0cdd24d36b
tikv: support secondaries key size limit for async commit ( #20167 )
...
Signed-off-by: Yilin Chen <sticnarf@gmail.com >
2020-09-28 12:03:12 +08:00
653dffe814
config: Make async commit txn size limit configurable ( #19812 )
...
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com >
2020-09-18 18:38:37 +08:00
0e4b809cad
*: remove expression index out of the experiment feature ( #19998 )
...
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com >
2020-09-18 13:25:37 +08:00
d8e43216e0
*: add index-usage-sync-lease config variable ( #19842 )
2020-09-16 20:19:52 +08:00
31a91d825c
config: remove pessimistic-txn.enable in config ( #20008 )
...
Signed-off-by: Shuaipeng Yu <jackysp@gmail.com >
2020-09-16 10:53:08 +08:00
70a567e4cb
session: refine error message desensitization ( #19409 )
2020-09-15 16:00:01 +08:00
fce9a669c2
config: enlarge the default value of max-txn-ttl ( #19826 )
2020-09-08 14:27:29 +08:00
34104a3edf
config: refine config validation error message ( #18869 )
...
Signed-off-by: wangggong <793160615@qq.com >
2020-09-01 09:49:22 +08:00
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
2f100eca2b
config: Add labels configuration ( #19212 )
...
* add labels
* add config test
* fmt file
* add test and example
* add intergration test
* add comment
* address the comment
* solve test error
* address the comment
* fix comment
* fix comment error
* remove example
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-08-24 19:17:51 +08:00
2c2ff934b2
util: rewrite parser warings for integer display width ( #18775 )
2020-08-24 14:52:29 +08:00
eb40424de4
ddl: support add global index operation on partition table ( #18402 )
2020-08-21 14:16:56 +08:00
4774cb9505
util: add encryptWriter/Reader interface to support encrypt spilled file ( #19070 )
2020-08-19 21:21:32 +08:00
92513a2f4d
util: create the tmpdir if the directory is removed by mistake. ( #18970 )
2020-08-18 22:10:44 +08:00
6365dca6a7
config: fix unittest method name typos ( #18763 )
...
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-08-03 19:31:02 +08:00
38621d29aa
config: deprecate allow-auto-random option ( #18618 )
2020-07-16 12:18:30 +08:00
8a6554a21f
telemetry: disable telemetry by default for non-community edition ( #18524 )
...
Signed-off-by: Zheng Xiangsheng <hundundm@gmail.com >
2020-07-15 11:37:36 +08:00
07c6788ef2
session: add no register API for using TiDB as a library ( #17513 )
...
* domain,session: add NoRegister entry
* session: run fmt
* session: remove old NoRegister API
* config: add no register config
* config: add example to example config file.
* session: remove unused type
* *: rename NoRegister to SkipRegisterToDashboard
Co-authored-by: crazycs <crazycs520@gmail.com >
2020-07-14 12:08:38 +08:00
5574e1a3ff
config: enable collect execution information by default ( #18415 )
2020-07-13 20:35:37 +08:00
a99fdc098c
statistics: ease the impact of stats feedback on cluster ( #15503 )
2020-07-08 19:53:04 +08:00
45c9d10ab9
config,store/tikv: make how large a txn start ttlManager configurable ( #18429 )
2020-07-08 16:10:53 +08:00
3748eb9203
store: initial work for async commit; add secondary keys to prewrite request ( #18303 )
...
Signed-off-by: Nick Cameron <nrc@ncameron.org >
2020-07-07 10:11:38 +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
3b63270909
telemetry: Add telemetry initial implementation ( #18180 )
...
Signed-off-by: Breezewish <me@breeswish.org >
Co-authored-by: crazycs <crazycs520@gmail.com >
Co-authored-by: Lynn <zimu_xia@126.com >
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-06-24 14:41:46 +08:00
de6b82ef72
config: Revise SimpleLRUCache Configuration ( #17532 )
2020-06-18 19:48:33 +08:00
ad598e431a
executor: add the cache for apply executor ( #17039 )
2020-06-17 21:24:12 +08:00
50bd9f4867
config: complete the list of deprecated configurations ( #18001 )
2020-06-16 11:36:46 +08:00