Xiang Li
5c1b833232
etcdctlv3: support watch
...
A draft impl for demo.
2015-11-03 19:28:57 -08:00
Xiang Li
1f1d8e9282
Merge pull request #3800 from xiang90/watch_server
...
*: serve watch service
2015-11-03 16:32:29 -08:00
Xiang Li
10de2e6dbe
*: serve watch service
...
Implement watch service and hook it up
with grpc server in etcdmain.
2015-11-03 15:58:34 -08:00
Xiang Li
70cb8b8391
Merge pull request #3799 from gyuho/nameing_in_metrics_watching
...
storage: apply same naming in metrics.go
2015-11-03 15:23:39 -08:00
Gyu-Ho Lee
bdc280c4a7
storage: apply same naming in metrics.go
...
This is PR following up with Xiang's https://github.com/coreos/etcd/pull/3795 ,
and to make the naming consistent with its interface change.
2015-11-03 15:19:18 -08:00
Xiang Li
f6b097c0cc
Merge pull request #3798 from xiang90/watch_new
...
*: add v3 watch service
2015-11-03 14:39:20 -08:00
Xiang Li
c160085f44
*: add v3 watch service
2015-11-03 14:21:24 -08:00
Xiang Li
154fc8e19c
Merge pull request #3795 from xiang90/watch_stream
...
storage: add watchChan
2015-11-03 13:32:49 -08:00
Xiang Li
a1129dd5a5
storage: support multiple watching per watcher
...
We want to support multiple watchings per one watcher chan. Then
we can have one single go routine to watch multiple keys/prefixs.
2015-11-03 12:36:11 -08:00
Xiang Li
34e7611093
Merge pull request #3797 from gyuho/procfile_20151103
...
Procfile: delay proxy waiting for initial cluster
2015-11-03 10:24:48 -08:00
Gyu-Ho Lee
5e29449d61
Procfile: delay proxy waiting for initial cluster
...
This fixes #3647 by delaying proxy start by 3 seconds. Without this, proxy
starts at the same time as initial cluster and since the default proxy director
refresh interval is 30-second, if cluster is not ready at first trial, the
proxy misses to discover them and has to wait another 30-seconds, which delays
the proxying for first 30-second.
2015-11-03 10:22:48 -08:00
Xiang Li
fe165de1d1
Merge pull request #3794 from yichengq/fix-proxy-term
...
etcdmain: fix parsing discovery error
2015-11-02 17:33:47 -08:00
Yicheng Qin
9757dcd3a2
etcdmain: fix parsing discovery error
...
The discovery error is wrapped into a struct now, and cannot be compared
to predefined errors. Correct the comparison behavior to fix the
problem.
2015-11-02 17:23:06 -08:00
Xiang Li
4fd65ecd4c
Merge pull request #3785 from yichengq/fix-block-test
...
storage: extend wait timeout for execution
2015-11-02 12:53:18 -08:00
Xiang Li
a74dd4c47a
Merge pull request #3790 from xiang90/etcd-top
...
add etcdtop
2015-11-02 12:02:05 -08:00
Yicheng Qin
8f9d237d21
Merge pull request #3792 from wojtek-t/update_ugorji
...
Update dependency on ugorji/go/codec
2015-11-02 07:43:48 -08:00
Wojciech Tyczynski
65ae8784fb
client: regenerate code to unmarshal key response
...
Regenerate code for unmarshaling key response with a new version of
ugorji/go/codec.
2015-11-02 12:06:32 +01:00
Wojciech Tyczynski
02eec7763d
Godeps: update ugorji/go/codec dependency
...
Update ugorji/go/codec dependency to the newer version.
2015-11-02 12:03:49 +01:00
Xiang Li
e1b2e7245b
tools/etcd-top: add copyright header
2015-11-01 18:19:32 -08:00
Xiang Li
c4f8fe96e8
travis: install libpcap
2015-11-01 18:16:20 -08:00
Xiang Li
2bfe995fb8
Godeps: add dependency for etcd-top
2015-11-01 18:07:27 -08:00
Tyler Neely
00557e96af
tools: add etcd-top
2015-11-01 18:07:27 -08:00
Yicheng Qin
59b5dabc66
storage: extend wait timeout for execution
...
Extend timeout to pass always in traivs.
2015-10-30 17:44:31 -07:00
Jonathan Boulle
f787e7904b
Merge pull request #3762 from jonboulle/auth
...
etcdserver: restructure auth.Store and auth.User
2015-10-30 16:49:28 -07:00
Jonathan Boulle
ee522025b3
etcdserver: restructure auth.Store and auth.User
...
This attempts to decouple password-related functions, which previously
existed both in the Store and User structs, by splitting them out into a
separate interface, PasswordStore. This means that they can be more
easily swapped out during testing.
This also changes the relevant tests to use mock password functions
instead of the bcrypt-backed implementations; as a result, the tests are
much faster.
Before:
```
github.com/coreos/etcd/etcdserver/auth 31.495s
github.com/coreos/etcd/etcdserver/etcdhttp 91.205s
```
After:
```
github.com/coreos/etcd/etcdserver/auth 1.207s
github.com/coreos/etcd/etcdserver/etcdhttp 1.207s
```
2015-10-30 16:33:40 -07:00
Jonathan Boulle
2840260b3b
Merge pull request #3781 from gyuho/doc_typo_20151029
...
Documentation: fix typo in proxy.md
2015-10-29 20:34:16 -07:00
Gyu-Ho Lee
294f03f85f
Documentation: fix typo in proxy.md
...
This fixes some typos in proxy.md.
Thanks,
2015-10-29 20:30:50 -07:00
Jonathan Boulle
00b4880494
Update ROADMAP.md
2015-10-29 16:05:40 -07:00
Jonathan Boulle
42255748cd
Update ROADMAP.md
2015-10-29 16:03:14 -07:00
Yicheng Qin
1b3d9130c9
Merge pull request #3759 from yichengq/rafthttp-unreachable
...
rafthttp: mark unreachable on unexpected response
2015-10-29 15:12:23 -07:00
Jonathan Boulle
1944893ef8
Merge pull request #3776 from gyuho/etcdmain_doc
...
etcdmain: fix package description compatible with godoc.org
2015-10-29 12:36:11 -07:00
Gyu-Ho Lee
821c071f3f
etcdmain: fix package description for godoc.org
...
This fixes package description for etcdmain that wasn't compatible with
godoc.org, by deleting the extra blank lines between comment and package name.
2015-10-29 12:28:52 -07:00
Yicheng Qin
84d7825a77
rafthttp: stop masking errMemberRemoved in pipeline
...
It makes logic more straightforward and readable. Also, it makes the
handle method consistent with stream and snapshot sender.
2015-10-28 21:40:48 -07:00
Yicheng Qin
908a011604
rafthttp: mark unreachable on unexpected response
...
In rafthttp, when making request to some endpoint, it may receive
response with unexpected status code and header. This indicates the endpoint
doesn't function correctly. It should mark the endpoint unreachable.
2015-10-28 21:40:11 -07:00
Xiang Li
2fe6893d5d
Merge pull request #3772 from xiang90/watcher_sep
...
storage: move watcher interface into watcher.go
2015-10-28 21:14:55 -07:00
Xiang Li
f71bcfa8ce
storage: move watcher interface into watcher.go
2015-10-28 21:10:58 -07:00
Jonathan Boulle
de99c9ed58
Merge pull request #3770 from yichengq/link-etcdctl
...
docs/libraries-and-tools: update the link of etcdctl
2015-10-28 14:07:33 -07:00
Yicheng Qin
4f36897f8c
Merge pull request #3767 from kamilhark/master
...
Added etcdsh command line tool to the list
2015-10-28 13:41:14 -07:00
Yicheng Qin
ebde1d720e
docs/libraries-and-tools: update the link of etcdctl
...
The old repo is deprecated, and we develop etcdctl in etcd repo now.
2015-10-28 13:37:28 -07:00
Yicheng Qin
b5c176360e
Merge pull request #3768 from yichengq/fix-publish-test
...
etcdserver: extend wait timeout in TestPublishRetry
2015-10-28 13:31:51 -07:00
Josh Wood
695a5148cf
Merge pull request #3769 from msoap/fix-docs
...
documentation: changed link to style doc
LGTM. Link accurate (old link was redir'd anyway).
Tiny fix, doc-only, so directly merging.
2015-10-28 13:13:37 -07:00
Sergey Mudrik
3dad5fffc0
documentation: changed link to style doc
...
Go-project has been moved from code.google.com to github.com
2015-10-28 21:49:28 +02:00
Yicheng Qin
7d757bbc8a
etcdserver: extend wait timeout in TestPublishRetry
...
It fixes the failure in semaphore CI:
```
--- FAIL: TestPublishRetry (0.00s)
server_test.go:1108: len(action) = 1, want >= 2
```
2015-10-28 12:07:00 -07:00
Kamil
ae18e6ea37
docs/libraries-and-tools: Added etcdsh command line tool to the list
2015-10-28 19:38:09 +01:00
Yicheng Qin
099d8674c4
Merge pull request #3746 from yichengq/load-storage
...
etcdserver: fix recovering snapshot from disk
2015-10-27 14:42:41 -07:00
Yicheng Qin
4b8ee2d66e
storage: skip old entry in ConsistentWatchableStore
...
This avoids to apply the same entry twice when restoring from disk.
2015-10-26 23:26:06 -07:00
Yicheng Qin
263b270708
etcdserver: commit v3 storage before releasing WAL
...
This ensures that v3 storage could always find the following log entries
when restart.
2015-10-26 21:06:08 -07:00
Xiang Li
70f9407d2d
Merge pull request #3758 from xiang90/race
...
*: fix various data races detected by race detector
2015-10-26 20:57:31 -07:00
Xiang Li
ab4892ade2
Merge pull request #3749 from gyuho/etcdmain_flags_20151025
...
etcdmain: make flags and formats idential
2015-10-26 20:54:37 -07:00
Xiang Li
a8e6e71bf9
*: fix various data races detected by race detector
2015-10-26 20:49:37 -07:00