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
Modified according to Kamil's comments. Simplification of the process, initializing gtidErrorsMsg to empty string and adjusting the resulting error strings if there was any intermediate error.
@@ -2861,8 +2861,8 @@ func relocateReplicasInternal(replicas [](*Instance), instance, other *Instance)
2861
2861
2862
2862
// Too complex
2863
2863
// if the len of gtidErrorsMsg is less than 21, no errors were added
2864
-
iflen(gtidErrorsMsg) <21 {
2865
-
gtidErrorsMsg=""
2864
+
iflen(gtidErrorsMsg) >0 {
2865
+
gtidErrorsMsg="Additional Errors: "+gtidErrorsMsg
2866
2866
}
2867
2867
returnnil, log.Errorf("Relocating %+v replicas of %+v below %+v turns to be too complex; please do it manually. %v", len(replicas), instance.Key, other.Key, gtidErrorsMsg), errs
0 commit comments