Merge pull request #8122 from yudai/fast_fail_proxy

grpcproxy: Disable fast fail on lease grant call to cluster
This commit is contained in:
Xiang Li 2017-06-19 15:04:25 -07:00 committed by GitHub
commit a65e3c69a6

View File

@ -73,7 +73,7 @@ func NewLeaseProxy(c *clientv3.Client) (pb.LeaseServer, <-chan struct{}) {
}
func (lp *leaseProxy) LeaseGrant(ctx context.Context, cr *pb.LeaseGrantRequest) (*pb.LeaseGrantResponse, error) {
rp, err := lp.leaseClient.LeaseGrant(ctx, cr)
rp, err := lp.leaseClient.LeaseGrant(ctx, cr, grpc.FailFast(false))
if err != nil {
return nil, err
}