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
// Otherwise nothing was moved via GTID. Maybe we don't have any GTIDs, we continue.
2828
2841
}
2829
2842
@@ -2847,7 +2860,11 @@ func relocateReplicasInternal(replicas [](*Instance), instance, other *Instance)
2847
2860
}
2848
2861
2849
2862
// Too complex
2850
-
returnnil, log.Errorf("Relocating %+v replicas of %+v below %+v turns to be too complex; please do it manually", len(replicas), instance.Key, other.Key), errs
2863
+
// if the len of gtidErrorsMsg is less than 21, no errors were added
2864
+
iflen(gtidErrorsMsg) >0 {
2865
+
gtidErrorsMsg="Additional Errors: "+gtidErrorsMsg
2866
+
}
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
2851
2868
}
2852
2869
2853
2870
// RelocateReplicas will attempt moving replicas of an instance indicated by instanceKey below another instance.
0 commit comments