Jonathan Boulle
5441c6aa54
etcdserver: correct X-Etcd-Index header
...
This adds an EtcdIndex field to store.Event and uses that as the header
instead of the node's modifiedIndex. To facilitate this in a non-racy
way, we set the EtcdIndex while holding the lock.
2014-09-22 18:56:12 -07:00
Jonathan Boulle
f7444ff300
store: convert Watch to interface
2014-09-09 11:17:53 -07:00
Xiang Li
22a25a18b3
feat(stream watchers) add stream watcher support
2014-01-09 15:28:33 +08:00
Xiang Li
fa3b4a7941
refactor(watcher) change newWatcher to Watch
2014-01-09 13:29:04 +08:00
Xiang Li
59ccefee0f
fix(watchhub.go) add a lock to protect the hashmap
2013-12-28 14:55:50 +08:00
Xiang Li
5e499456f0
init cancel watcher
2013-12-26 22:06:15 +08:00
Xiang Li
c6e1af8321
merge master
2013-12-02 22:36:38 -05:00
Xiang Li
78e382cb6b
test add watcher prefix test
2013-12-01 17:35:22 -05:00
Xiang Li
67b4c27d5d
refactor change node_repr to node_extern
2013-11-28 21:34:38 -05:00
Xiang Li
5abbaf59e3
Merge pull request #292 from xiangli-cmu/fix-ttl
...
WIP: fix ttl
2013-11-11 21:30:32 -08:00
Xiang Li
6156d5c790
refactor separate etcd index from raft index
2013-11-09 17:55:54 -08:00
Brandon Philips
6a074d4f6f
chore(*.go): add copyright notice
2013-11-08 14:04:15 -08:00
Xiang Li
6803d077b9
fix store pacakge pass go vet
2013-10-21 12:37:22 -07:00
Ben Johnson
1321c63f3b
Extract Store into an interface.
2013-10-14 11:12:30 -06:00
evan-gu
b8ac1d082b
fix race between Expire() and others, fix UpdateTTL(), modified watcher to catch Expire()
2013-09-30 22:10:40 -04:00
Xiang Li
da83ee223b
clean up from yifan
2013-09-28 16:26:19 -07:00
Xiang Li
1caf2a3364
remove old store
2013-09-15 22:28:42 -04:00
Fabrizio (Misto) Milo
f5c2d19b90
nip
2013-08-08 16:46:39 -07:00
Xiang Li
39fa2eb4ee
add benchmarks
2013-08-05 13:21:08 -07:00
Xiang Li
026f93cd83
add watch benchmark
2013-08-04 23:10:16 -07:00
Xiang Li
dc2eae8595
fix watcher test and keyword test
2013-08-04 17:42:28 -07:00
Xiang Li
c5901f4b88
tree store init commit
2013-07-02 18:09:54 -07:00
Xiang Li
ef59a03fbb
gofmt
2013-06-20 15:59:23 -07:00
Xiang Li
cc2608e9f8
add new files
2013-06-18 11:14:22 -07:00