Skip to content

Commit

Permalink
comment: fix the comment
Browse files Browse the repository at this point in the history
Signed-off-by: Manan Gupta <[email protected]>
  • Loading branch information
GuptaManan100 committed Oct 22, 2024
1 parent e5b39cf commit ad14d41
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion go/vt/vttablet/tabletmanager/rpc_replication.go
Original file line number Diff line number Diff line change
Expand Up @@ -772,7 +772,7 @@ func (tm *TabletManager) setReplicationSourceLocked(ctx context.Context, parentA
if err != nil {
return err
}
// If we don't have the server UUID so we can't run errant GTID detection.
// If we don't have the server UUID, we can't run errant GTID detection.
// This happens if the primary vttablet is on an older release of Vitess
// where we didn't send server uuid in the response of PrimaryStatus.
if primaryStatus.ServerUuid != "" {
Expand Down
2 changes: 1 addition & 1 deletion go/vt/vttablet/tabletmanager/tm_init.go
Original file line number Diff line number Diff line change
Expand Up @@ -1049,7 +1049,7 @@ func (tm *TabletManager) initializeReplication(ctx context.Context, tabletType t
if err != nil {
return "", err
}
// If we don't have the server UUID so we can't run errant GTID detection.
// If we don't have the server UUID, we can't run errant GTID detection.
// This happens if the primary vttablet is on an older release of Vitess
// where we didn't send server uuid in the response of PrimaryStatus.
if primaryStatus.ServerUuid != "" {
Expand Down

0 comments on commit ad14d41

Please sign in to comment.