Skip to content

Commit

Permalink
try to fix ut
Browse files Browse the repository at this point in the history
Signed-off-by: zyguan <[email protected]>
  • Loading branch information
zyguan committed Jan 26, 2025
1 parent 9f08a5c commit b571c08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/locate/region_request.go
Original file line number Diff line number Diff line change
Expand Up @@ -804,7 +804,7 @@ func (s *sendReqState) next(
return true
}
}
s.vars.regionErr = &errorpb.Error{RegionNotFound: &errorpb.RegionNotFound{}}
s.vars.regionErr = &errorpb.Error{EpochNotMatch: &errorpb.EpochNotMatch{}}
s.vars.resp, s.vars.err = tikvrpc.GenRegionErrorResp(req, s.vars.regionErr)
s.vars.msg = "throwing pseudo region error due to no replica available"
return true
Expand Down

0 comments on commit b571c08

Please sign in to comment.