Skip to content

Commit

Permalink
fix git conflict
Browse files Browse the repository at this point in the history
Signed-off-by: lance6716 <lance6716@gmail.com>
  • Loading branch information
lance6716 committed Jun 30, 2023
1 parent 330af49 commit 204879f
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions tidb-server/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -612,18 +612,8 @@ func setGlobalVars() {
}
plannercore.AllowCartesianProduct.Store(cfg.Performance.CrossJoin)
privileges.SkipWithGrant = cfg.Security.SkipGrantTable
<<<<<<< HEAD
kv.TxnTotalSizeLimit = cfg.Performance.TxnTotalSizeLimit
if cfg.Performance.TxnEntrySizeLimit > 120*1024*1024 {
=======
if cfg.Performance.TxnTotalSizeLimit == config.DefTxnTotalSizeLimit {
// practically deprecate the config, let the new session memory tracker take charge of it.
kv.TxnTotalSizeLimit = config.SuperLargeTxnSize
} else {
kv.TxnTotalSizeLimit = cfg.Performance.TxnTotalSizeLimit
}
if cfg.Performance.TxnEntrySizeLimit > config.MaxTxnEntrySizeLimit {
>>>>>>> bb2e845f712 (lightning: fix risk of OOM (#40443) (#44333))
log.Fatal("cannot set txn entry size limit larger than 120M")
}
kv.TxnEntrySizeLimit = cfg.Performance.TxnEntrySizeLimit
Expand Down

0 comments on commit 204879f

Please sign in to comment.