Skip to content

Commit

Permalink
feat: fix encoding of primary position that we send down
Browse files Browse the repository at this point in the history
Signed-off-by: Manan Gupta <[email protected]>
  • Loading branch information
GuptaManan100 committed Sep 25, 2024
1 parent b7928ec commit 66f0b6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/vt/vtctl/reparentutil/emergency_reparenter.go
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ func (erp *EmergencyReparenter) reparentReplicas(
return nil
}

latestPosStr := latestPosition.String()
latestPosStr := replication.EncodePosition(latestPosition)
handleReplica := func(alias string, ti *topo.TabletInfo) {
defer replWg.Done()
erp.logger.Infof("setting new primary on replica %v", alias)
Expand Down

0 comments on commit 66f0b6d

Please sign in to comment.