From bacbba090635096c4b5a898503132fdc11fc8913 Mon Sep 17 00:00:00 2001 From: Tanner Date: Sat, 9 Nov 2019 11:08:43 +0800 Subject: [PATCH] session: fix upgrade logic when bootstrap (#12827) --- session/bootstrap.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/session/bootstrap.go b/session/bootstrap.go index 5f6c735e0b813..894c991a3de94 100644 --- a/session/bootstrap.go +++ b/session/bootstrap.go @@ -520,6 +520,7 @@ func upgrade(s Session) { upgradeToVer28(s) } + // upgradeToVer29 only need to be run when the current version is 28. if ver == version28 { upgradeToVer29(s) } @@ -533,7 +534,7 @@ func upgrade(s Session) { } if ver < version32 { - upgradeToVer29(s) + upgradeToVer32(s) } if ver < version33 {