Skip to content

Commit

Permalink
Don't retry if topo server can't resolve in the vtgate
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Lord <[email protected]>
  • Loading branch information
mattlord committed Jan 31, 2025
1 parent d98f471 commit 338bb02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/vt/vtgate/vstream_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ func (vsm *vstreamManager) VStream(ctx context.Context, tabletType topodatapb.Ta
}
if ts == nil {
log.Errorf("unable to get topo server in VStream()")
return vterrors.Errorf(vtrpcpb.Code_FAILED_PRECONDITION, "unable to get topoology server")
return vterrors.Errorf(vtrpcpb.Code_ABORTED, "unable to get topoology server")
}
vs := &vstream{
vgtid: vgtid,
Expand Down

0 comments on commit 338bb02

Please sign in to comment.