From bddc12ca93b45e1007df8fbb578b5ea57f07f8ad Mon Sep 17 00:00:00 2001 From: Zejun Li Date: Tue, 16 Jun 2020 11:36:46 +0800 Subject: [PATCH] cherry pick #18001 to release-4.0 Signed-off-by: ti-srebot --- config/config.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/config.go b/config/config.go index 394cfad0f18e3..94bfc1b348aee 100644 --- a/config/config.go +++ b/config/config.go @@ -704,9 +704,11 @@ func StoreGlobalConfig(config *Config) { var deprecatedConfig = map[string]struct{}{ "pessimistic-txn.ttl": {}, "log.file.log-rotate": {}, + "log.log-slow-query": {}, "txn-local-latches": {}, "txn-local-latches.enabled": {}, "txn-local-latches.capacity": {}, + "max-txn-time-use": {}, } func isAllDeprecatedConfigItems(items []string) bool {