Wojciech Tyczynski
b675b2230c
Avoid unnecessary decoding in etcd3 client
2016-10-11 10:38:46 +02:00
Hongchao Deng
2516ab058d
etcd3 watcher: use prevKV for prevObj
2016-10-10 09:46:40 -07:00
Wojciech Tyczynski
82c360a252
Make gets for previous value in watch serializable
2016-10-05 13:18:31 +02:00
Hongchao Deng
6f3ac807fd
pass SelectionPredicate instead of Filter to storage layer
2016-09-26 09:47:19 -07:00
Hongchao Deng
8e3b40735a
stop etcd watcher when watch chan is closed
2016-09-20 12:45:28 -07:00
Hongchao Deng
5a4a095e29
etcd watcher: centralize error handling
2016-09-16 15:31:49 -07:00
Hongchao Deng
3e9af272d5
etcd3/watcher: logging error
2016-09-15 17:23:04 -07:00
Wojciech Tyczynski
bd54c389f5
Extend logging for scalability tests debugging
2016-09-08 12:02:59 +02:00
Wojciech Tyczynski
7f7ef0879f
Change filter to interface in storage.Interface
2016-07-13 08:44:22 +02:00
David McMahon
ef0c9f0c5b
Remove "All rights reserved" from all the headers.
2016-06-29 17:47:36 -07:00
Hongchao Deng
da7e9783e8
etcd3/watcher: Event.Object should have the same rev as etcd delete
...
instead of previous object's revision.
2016-05-10 10:53:53 -07:00
Hongchao Deng
97f4647dc3
etcd3/watcher: fix goroutine leak if ctx is canceled
...
In reflector.go, it could probably call Stop() without retrieving all results
from ResultChan().
A potential leak is that when an error has happened, it could block on resultChan,
and then cancelling context in Stop() wouldn't unblock it.
This fixes the problem by making it also select ctx.Done and cancel context
afterwards if error happened.
2016-05-09 09:06:11 -07:00
Hongchao Deng
b0f4517e65
etcd3/watcher: cancelling context shouldn't return error
2016-04-22 12:23:04 +08:00
Hongchao Deng
e18b4e67be
etcd3/store: watcher implementation
2016-04-18 21:41:53 +08:00