Skip to content

Commit

Permalink
clientv3: don't reset keepalive stream on grant failure
Browse files Browse the repository at this point in the history
Was triggering cancelation errors on outstanding KeepAlives.
  • Loading branch information
Anthony Romano committed Dec 16, 2016
1 parent 25bec67 commit 8eb54e1
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions clientv3/lease.go
Original file line number Diff line number Diff line change
Expand Up @@ -177,9 +177,6 @@ func (l *lessor) Grant(ctx context.Context, ttl int64) (*LeaseGrantResponse, err
if isHaltErr(cctx, err) {
return nil, toErr(cctx, err)
}
if nerr := l.newStream(); nerr != nil {
return nil, nerr
}
}
}

Expand Down

0 comments on commit 8eb54e1

Please sign in to comment.