Skip to content

Commit

Permalink
config: complete the list of deprecated configurations (#18001) (#18046)
Browse files Browse the repository at this point in the history
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
  • Loading branch information
ti-srebot authored Jul 15, 2020
1 parent 667c4df commit 8ef07a5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -710,9 +710,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 {
Expand Down

0 comments on commit 8ef07a5

Please sign in to comment.