Skip to content

Commit

Permalink
InternalSessionList->internalSessionList
Browse files Browse the repository at this point in the history
Signed-off-by: TonsnakeLin <lpbgytong@163.com>
  • Loading branch information
TonsnakeLin committed Apr 7, 2022
1 parent 98ffcc8 commit 539fe82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions domain/infosync/info.go
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,7 @@ func (is *InfoSyncer) ReportMinStartTS(store kv.Storage) {
return
}
pl := is.manager.ShowProcessList()
InnerSessionStartTSList := is.manager.GetInternalSessionStartTSList()
innerSessionStartTSList := is.manager.GetInternalSessionStartTSList()

// Calculate the lower limit of the start timestamp to avoid extremely old transaction delaying GC.
currentVer, err := store.CurrentVersion(kv.GlobalTxnScope)
Expand All @@ -631,7 +631,7 @@ func (is *InfoSyncer) ReportMinStartTS(store kv.Storage) {
}
}

for _, innerTS := range InnerSessionStartTSList {
for _, innerTS := range innerSessionStartTSList {
kv.PrintLongTimeInternalTxn(now, innerTS, false)
if innerTS > startTSLowerLimit && innerTS < minStartTS {
minStartTS = innerTS
Expand Down

0 comments on commit 539fe82

Please sign in to comment.