Mohammad Samman
43437e21f9
etcdctl: added domain discovery flag
...
provided a domain, will look up SRV records for etcd endpoints
Fixes #2636
2015-07-21 12:53:21 -07:00
Xiang Li
dc3f7f5d90
*: detect duplicate name for discovery bootstrap
2015-07-21 12:53:20 -07:00
Xiang Li
b8279b3591
types: add len func for urlmaps
2015-07-21 12:53:20 -07:00
Xiang Li
ee82ee05b4
etcdctl: support member update command
2015-07-21 12:53:20 -07:00
Xiang Li
6e3769d39e
client: add member update
2015-07-21 12:53:20 -07:00
Xiang Li
9f9661f513
etcdctl: print out key and action when watching recursively
2015-07-21 12:53:20 -07:00
Xiang Li
87ef0f0b3e
godep: remove go-etcd dependency
2015-07-21 12:53:20 -07:00
Xiang Li
071ad9f72b
etcdctl: health use etcd/client
2015-07-21 12:53:20 -07:00
Xiang Li
0b1ddce889
etcdctl: import snap use etcd/client
2015-07-21 12:53:20 -07:00
Xiang Li
adeb101e04
etcdctl: remove old stuff
2015-07-21 12:53:20 -07:00
Xiang Li
759c156e3e
etcdctl: exec_watch use etcd/client
2015-07-21 12:53:20 -07:00
Xiang Li
5b01b3877f
etcdctl: watch use etcd/client
2015-07-21 12:53:20 -07:00
Xiang Li
b20c06348d
etcdctl: ls use etcd/client
2015-07-21 12:53:19 -07:00
Xiang Li
ae1669de26
etcdctl: updatedir use etcd/client
2015-07-21 12:53:19 -07:00
Xiang Li
f12ae45c6a
etcdctl: update use etcd/client
2015-07-21 12:53:19 -07:00
Xiang Li
58b19a7c1e
etcdctl: rmdir use etcd/client
2015-07-21 12:53:19 -07:00
Xiang Li
9d7a8dd2b0
etcdctl: mk use etcd/client
2015-07-21 12:53:19 -07:00
Xiang Li
61befc7ce6
etcdctl: minor cleanup
2015-07-21 12:53:19 -07:00
Xiang Li
e3fcc450cf
etcdctl: make rm use etcd/client
2015-07-21 12:53:19 -07:00
Xiang Li
9d9c3a7180
etcdctl: make setdir/mkdir use etcd/client
2015-07-21 12:53:19 -07:00
Xiang Li
db4b18aee3
etcdctl: make set command use etcd/client
2015-07-21 12:53:19 -07:00
Xiang Li
e9478ba630
etcdctl: make get command use etcd/client
2015-07-21 12:53:19 -07:00
Yicheng Qin
147b14cfc0
*: bump to v2.1.1+git
2015-07-21 10:43:49 -07:00
Yicheng Qin
6335fdc595
*: bump to v2.1.1
v2.1.1
2015-07-21 10:41:26 -07:00
Yicheng Qin
ca540b23dc
Merge pull request #3158 from yichengq/exp-auth
...
docs: add experimental notice on auth doc
v2.1.0
2015-07-21 10:24:11 -07:00
Yicheng Qin
097ec0f25b
docs: add experimental notice on auth doc
...
Reasons for the notice:
1. No users have reported about their feedback about auth feature so
far.
2. We haven't used it internally.
3. This is the first release that includes auth feature, so it is good
to be more cautious.
2015-07-21 10:23:23 -07:00
Xiang Li
ed444419c0
Merge pull request #3160 from ryandoyle/docs-nss-etcd
...
docs: glibc NSS module for resolving names in etcd
2015-07-21 08:53:08 +08:00
Ryan Doyle
d373645b8c
docs: glibc NSS module for resolving names in etcd
2015-07-21 10:33:23 +10:00
Yicheng Qin
d86e94b824
Merge pull request #3128 from yichengq/doc-watch-api
...
docs: update watch API doc for clarity
2015-07-20 14:54:26 -07:00
Yicheng Qin
d52cb2e5d9
docs: add watch command and correct the example
2015-07-20 14:49:01 -07:00
Xiang Li
40681bdf03
Merge pull request #3146 from a-robinson/snap
...
snap: Record the snapshot save duration on success rather than only on error
2015-07-17 06:03:33 +08:00
Yicheng Qin
7d38115cb2
Merge pull request #3148 from yichengq/update-contact
...
Update contact section in README.md
2015-07-16 15:01:54 -07:00
Barak Michener
f8baa4ebe0
Merge pull request #3138 from barakmich/auth_doc
...
documentation: Add authentication walkthrough with etcdctl. Fixes #2949
2015-07-16 16:41:15 -04:00
Yicheng Qin
9b962c8350
README: let roadmap point to ROADMAP.md
2015-07-16 12:58:13 -07:00
Yicheng Qin
c1aed32920
README: update irc channel to #etcd
2015-07-16 12:52:26 -07:00
Alex Robinson
57a5520157
snap: Record the snapshot save duration on success rather than only on error.
...
It makes more sense to record the latency of successes (or all attempts)
than of only a particular failure case.
2015-07-16 10:46:47 -07:00
Barak Michener
452a327334
documentation: Add authentication walkthrough with etcdctl. Fixes #2949
2015-07-15 15:54:26 -04:00
Yicheng Qin
ebbb0caff0
Merge pull request #3136 from yichengq/fix-proxy-doc
...
docs: fix wrong proxy command
2015-07-15 11:30:07 -07:00
Yicheng Qin
d0e976ad4b
docs: fix wrong proxy command
2015-07-15 08:37:10 -07:00
Xiang Li
d0e3e2c992
Merge pull request #3131 from yichengq/remove-header-timeout
...
discovery: remove ResponseHeaderTimeout when discovery
2015-07-15 07:50:36 +08:00
Yicheng Qin
1db176151b
discovery: remove ResponseHeaderTimeout when discovery
...
The discovery service doesn't return HTTP header early when watch
starts. This may trigger ResponseHeaderTimeout and cause the watch
request failed.
The fix on discovery service may take some time. Remove the
ResponseHeaderTimeout first so it behaves as before.
2015-07-14 16:33:28 -07:00
Michael Schurter
f52db1c08e
docs: add back original example w/index=prevIndex
2015-07-13 23:04:39 -07:00
Michael Schurter
b94f6595e6
docs: rewrite existing docs instead of adding a new section
...
@xiang90 pointed out my earlier commit duplicated a lot of things that
were mentioned earlier in the doc.
This time around I tried just making some gotchas more explicit in the
existing docs instead of just tacking new stuff onto the end.
2015-07-13 23:03:59 -07:00
Xiang Li
953a59d554
Merge pull request #3127 from yanana/emend-error-message
...
etcdmain: emend configuration error message
2015-07-14 13:46:08 +08:00
Shun Yanaura
d7276d6ace
etcdmain: emend configuration error message
...
etcd shows an odd message on configuration error like this (partially):
```
... discovery or bootstrap flags are setChoose one of ...
^^^^^^^^^
```
This commit fixes the message format problem.
2015-07-14 14:42:49 +09:00
Yicheng Qin
d80f4c8aa2
Merge pull request #3125 from yichengq/doc-tuning
...
docs: update tuning.md to match today's situation
2015-07-13 16:52:11 -07:00
Yicheng Qin
8b7c600009
docs: update tuning.md to match today's situation
...
1. etcd requires that election-timeout >= 5 * heartbeat-interval
2. etcd doesn't have flag -snapshot
2015-07-13 16:35:30 -07:00
Yicheng Qin
7a520bb80b
Merge pull request #3121 from yichengq/extend-schedule
...
pkg/testutil: extend wait schedule time to 10ms
2015-07-13 15:23:36 -07:00
Yicheng Qin
1624235bb3
pkg/testutil: extend wait schedule time to 10ms
...
Waiting 3ms is not long enough for schedule to work well. The test suite
may fail once per 200 times in travis due to this. Extend this to 10ms
to ensure schedule could work. Now it could run 1000 times successfully
in travis.
2015-07-13 09:05:40 -07:00
Yicheng Qin
5be545b872
Merge pull request #3077 from yichengq/fix-test-sync
...
etcdserver: init raft internal var early
2015-07-10 14:44:52 -07:00