Skip to content

Commit

Permalink
Relaxed constraints on relocating up from a binlog server
Browse files Browse the repository at this point in the history
  • Loading branch information
shlomi-noach committed Nov 19, 2015
1 parent 834873d commit 464c697
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#
set -e

RELEASE_VERSION="1.4.531"
RELEASE_VERSION="1.4.532"
TOPDIR=/tmp/orchestrator-release
export RELEASE_VERSION TOPDIR

Expand Down
2 changes: 1 addition & 1 deletion go/inst/instance_topology.go
Original file line number Diff line number Diff line change
Expand Up @@ -2154,7 +2154,7 @@ func relocateBelowInternal(instance, other *Instance) (*Instance, error) {
}
if instanceMaster.MasterKey.Equals(&other.Key) && instanceMaster.IsBinlogServer() {
// Moving to grandparent via binlog server
return MoveUp(&instance.Key)
return Repoint(&instance.Key, &instanceMaster.MasterKey, GTIDHintDeny)
}
if other.IsBinlogServer() {
// Relocate to its master, then repoint to the binlog server
Expand Down

0 comments on commit 464c697

Please sign in to comment.