Xiang
|
4274db46f2
clientv3: fix lease keepalive duration
|
7 years ago |
fanmin shi
|
8cb5e05fc9
clientv3: KeepAliveOnce returns ErrLeaseNotFound if TTL <= 0
|
7 years ago |
Anthony Romano
|
cf5cc18f02
Merge pull request #7286 from heyitsanthony/lease-snip-cancel-stop
|
7 years ago |
Anthony Romano
|
a213b3abf5
clientv3: remove cancelWhenStop from lease implementation
|
7 years ago |
Anthony Romano
|
a9f10bdeee
clientv3: only start lease stream after first keepalive call
|
7 years ago |
fanmin shi
|
720234d32b
clientv3: sends keepalive reqs immediately after lease keep alive stream reset
|
7 years ago |
Anthony Romano
|
5e3b20e70c
clientv3: don't reset stream on keepaliveonce or revoke failure
|
7 years ago |
Anthony Romano
|
a375e91c66
clientv3: don't reset keepalive stream on grant failure
|
8 years ago |
Denys Smirnov
|
b126e31132
clientv3: better error message for keep alive loop halt
|
8 years ago |
Denys Smirnov
|
e0bcd4d516
clientv3: return error from KeepAlive if corresponding loop exits
|
8 years ago |
Xiang Li
|
9205a242b9
clientv3: do not retry on mutable operations
|
8 years ago |
Iwasaki Yudai
|
6a33f0ffd5
clientv3: make balancer respect FastFail
|
8 years ago |
Gyu-Ho Lee
|
4c08f6767c
clientv3: add lease.TimeToLive + tests
|
8 years ago |
Gyu-Ho Lee
|
1aec483e42
clientv3: use correct context in toErr (lease)
|
8 years ago |
Anthony Romano
|
3eadf964f4
clientv3: use failfast and retry wrappers for at-most-once rpcs
|
8 years ago |
Anthony Romano
|
d8f0ef0e80
clientv3: use grpc.FailFast(false) for all calls
|
8 years ago |
davygeek
|
8c96d2573f
*: fixed some warning
|
8 years ago |
James Shubin
|
6480066054
*: misc typos and go vet fixes
|
8 years ago |
Anthony Romano
|
e534532523
clientv3: close keep alive channel if no response within TTL
|
8 years ago |
Anthony Romano
|
62f8ec25c0
clientv3: use grpc reconnection logic
|
8 years ago |
Gyu-Ho Lee
|
fd9e07a529
clientv3: update LICENSE header
|
8 years ago |
Anthony Romano
|
22c3a439bc
clientv3: do not stop lease client on lost receive stream
|
8 years ago |
Anthony Romano
|
cdc8f99658
clientv3: rework reconnection logic
|
8 years ago |
Gyu-Ho Lee
|
2e3d79a7bf
clientv3: convert errors to rpctypes on returning
|
8 years ago |
Anthony Romano
|
ecb0e2bd38
Merge pull request #5203 from heyitsanthony/fix-lease-leak
|
8 years ago |
Anthony Romano
|
30a9229f38
clientv3: check stream context in lease keep alive send loop
|
8 years ago |
Anthony Romano
|
af1a0b60e2
etcdserver: respond with ttl=0 for revoked lease keep alive
|
8 years ago |
Xiang Li
|
9ec176a9b0
Merge pull request #5176 from xiang90/lease_client
|
8 years ago |
Xiang Li
|
cbd79c666e
clientv3: keepaliveonce should have a per call ctx
|
8 years ago |
Xiang Li
|
844208d7dd
clientv3: retry on switchRemoteAndStream
|
8 years ago |