You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: go/vt/vtctl/reparentutil/util.go
-12Lines changed: 0 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -173,20 +173,13 @@ func ElectNewPrimary(
173
173
returnnil, vterrors.Errorf(vtrpc.Code_INTERNAL, "cannot find a tablet to reparent to%v", reasonsToInvalidate.String())
174
174
}
175
175
176
-
fori, tablet:=rangevalidTablets {
177
-
ifi<len(mysqlVersions) {
178
-
log.Infof("ElectNewPrimary: candidate %v has MySQL version %d.%d.%d", topoproto.TabletAliasString(tablet.Alias), mysqlVersions[i].Major, mysqlVersions[i].Minor, mysqlVersions[i].Patch)
179
-
}
180
-
}
181
-
182
176
// sort preferred tablets for finding the best primary — PRS prefers version over position
183
177
// because it always catches the elected tablet up to the old primary's exact position.
0 commit comments