Skip to content

Commit

Permalink
replication: fix uuid typo
Browse files Browse the repository at this point in the history
  • Loading branch information
dveeden committed Oct 27, 2024
1 parent cadcdcc commit ed6a7b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion replication/binlogsyncer.go
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ func (b *BinlogSyncer) registerSlave() error {

serverUUID, err := uuid.NewUUID()
if err != nil {
b.cfg.Logger.Errorf("failed to get new uud %v", err)
b.cfg.Logger.Errorf("failed to get new uuid %v", err)
return errors.Trace(err)
}
if _, err = b.c.Execute(fmt.Sprintf("SET @slave_uuid = '%s', @replica_uuid = '%s'", serverUUID, serverUUID)); err != nil {
Expand Down

0 comments on commit ed6a7b5

Please sign in to comment.