https://github.com/etcd-io/etcd

sort by:
Revision Author Date Message Commit Date
ff8d1ec *: bump to v2.1.2 21 August 2015, 23:19:55 UTC
ccb67a6 pkg/netutil: stop resolving in place It helps to copy out a and b, and not modify the original a and b. 21 August 2015, 22:39:57 UTC
0592337 pkg/netutil: not introduce empty url when converting It should not make slices with length and append elements at the same time. 21 August 2015, 22:39:48 UTC
c530acf pkg/netutil: not export resolve and urlsEqual functions They are only used in this package, so there is no need to public them. 21 August 2015, 22:39:38 UTC
bad1b20 pkg/netutil: fix false negative comparison Sort the resolved URLs before DeepEqual, so it will not compare URLs that may be out of order due to resolution. 21 August 2015, 22:39:29 UTC
89640cf etcdserver: remove TODO to delete URLStringsEqual Discovery SRV supports to compare IP addresses with domain names, so we need URLStringsEqual function. 21 August 2015, 22:39:19 UTC
bbefb0a Revert "Revert "Treat URLs have same IP address as same"" This reverts commit 3153e635d5799f1ff8715fd4b7c07e0283820acd. Conflicts: etcdserver/config.go 21 August 2015, 22:39:10 UTC
8e07065 etcdmain: print out version information on startup Conflicts: etcdmain/etcd.go 21 August 2015, 22:38:34 UTC
cd2a218 etcdctl/cluster_health: set health var when checked healthy This was a typo. 21 August 2015, 22:37:26 UTC
8d410bd etcdctl: use health endpoint to greatly simplify health checking 21 August 2015, 22:22:19 UTC
0a2d2b8 etcdctl: cluster-health supports forever flag cluster-health command supports checking the cluster health forever. 21 August 2015, 22:22:13 UTC
6c9e876 etcdctl: refactor the way to check cluster health This method uses raft status exposed at /debug/varz to determine the health of the cluster. It uses whether commit index increases to determine the cluster health, and uses whether match index increases to determine the member health. This could fix the bug #2711 that fails to detect follower is unhealthy because it doesn't rely on whether message in long-polling connection is sent. This health check is stricter than the old one, and reflects the situation that whether followers are healthy in the view of the leader. One example is that if the follower is receiving the snapshot, it will turns out to be unhealthy because it doesn't move forward. `etcdctl cluster-health` will reflect the healthy view in the raft level, while connectivity checks reflects the healthy view in transport level. 21 August 2015, 22:22:05 UTC
a845f82 etcdctl: health use etcd/client Conflicts: etcdctl/command/cluster_health.go 21 August 2015, 22:21:44 UTC
c1c2362 raft: downgrade the logging around snapshot to debugf Snapshot related logging is spamming when leader trying to sync a failed peer. Conflicts: raft/raft.go 21 August 2015, 22:11:47 UTC
ac67aa9 etcdhttp:write etcderror for all errors in keyhandler 21 August 2015, 22:10:01 UTC
52c5203 *: key handler should write auth error as etcd error 21 August 2015, 22:09:53 UTC
27bfb3f etcdserver: improve error message when timeout due to leader fail 21 August 2015, 22:09:46 UTC
084936a etcdserver: specify timeout caused by leader election Before this PR, the timeout caused by leader election returns: ``` 14:45:37 etcd2 | 2015-08-12 14:45:37.786349 E | etcdhttp: got unexpected response error (etcdserver: request timed out) ``` After this PR: ``` 15:52:54 etcd1 | 2015-08-12 15:52:54.389523 E | etcdhttp: etcdserver: request timed out, possibly due to leader down ``` Conflicts: etcdserver/raft.go 21 August 2015, 22:09:32 UTC
d2ecd9c test: race detector doesn't work on armv7l Test fails without this fix on armv7l: go test: -race is only supported on linux/amd64, freebsd/amd64, darwin/amd64 and windows/amd64 21 August 2015, 21:59:07 UTC
07b8283 etcdserver: move atomics to make etcd work on arm64 Follow the simple rule in the atomic package: "On both ARM and x86-32, it is the caller's responsibility to arrange for 64-bit alignment of 64-bit words accessed atomically. The first word in a global variable or in an allocated struct or slice can be relied upon to be 64-bit aligned." Tested on a system with /proc/cpuinfo reporting: processor : 0 model name : ARMv7 Processor rev 1 (v7l) Features : swp half thumb fastmult vfp edsp thumbee neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x0 CPU part : 0xc0d CPU revision : 1 21 August 2015, 21:58:59 UTC
61f4e74 etcdmain: reject unreasonably high values of -election-timeout This helps users to detect setting problem early. 21 August 2015, 21:58:49 UTC
331ecdf client: return correct error for 50x response etcd always returns 500/503 response when it may have no leader. So we should log the other 50x response in a normal way. This helps to log correctly when discovery meets 504 error. Before this PR, it logs like this: ``` 18:31:58 etcd2 | 2015/08/4 18:31:58 discovery: error #0: client: etcd member https://discovery.etcd.io has no leader 18:31:58 etcd2 | 2015/08/4 18:31:58 discovery: waiting for other nodes: error connecting to https://discovery.etcd.io, retrying in 4s ``` After this PR: ``` 22:20:25 etcd2 | 2015/08/4 22:20:25 discovery: error #0: client: etcd member https://discovery.etcd.io returns server error [Gateway Timeout] 22:20:25 etcd2 | 2015/08/4 22:20:25 discovery: waiting for other nodes: error connecting to https://discovery.etcd.io, retrying in 4s ``` Conflicts: client/client.go 21 August 2015, 21:55:35 UTC
3a346ea discovery: print out detailed cluster error Conflicts: discovery/discovery.go 21 August 2015, 21:54:36 UTC
9760504 client: return cluster error if the etcd cluster is not avaliable Add a new ClusterError type. It contians all encountered errors and return ClusterNotAvailable as the error string. Conflicts: client/client.go discovery/discovery.go 21 August 2015, 21:51:41 UTC
41ecf7f etcdmain: Don't print flags when flag parse error At present it prints the whole usage and flags, which cause the exact error message is hidden two screens above. Fixes #3141 Signed-off-by: Guohua Ouyang <gouyang@redhat.com> 21 August 2015, 21:32:49 UTC
fcd564e etcdmian: fix initialization confilct Fix #3142 Ignore flags if etcd is already initialized. 21 August 2015, 21:32:41 UTC
0876c5e etcdmain: warn when listening on HTTP if TLS is set If the user sets TLS info, this implies that he wants to listen on TLS. If etcd finds that urls to listen is still HTTP schema, it prints out warning to notify user about possible wrong setting. 21 August 2015, 21:32:31 UTC
ef80bb5 pkg/transport: fix HTTPS downgrade bug for keepalive listener If TLS config is empty, etcd downgrades keepalive listener from HTTPS to HTTP without warning. This results in HTTPS downgrade bug for client urls. The commit returns error if it cannot listen on TLS. 21 August 2015, 21:32:18 UTC
147b14c *: bump to v2.1.1+git 21 July 2015, 17:43:49 UTC
6335fdc *: bump to v2.1.1 21 July 2015, 17:41:26 UTC
ca540b2 Merge pull request #3158 from yichengq/exp-auth docs: add experimental notice on auth doc 21 July 2015, 17:24:11 UTC
097ec0f 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. 21 July 2015, 17:23:23 UTC
ed44441 Merge pull request #3160 from ryandoyle/docs-nss-etcd docs: glibc NSS module for resolving names in etcd 21 July 2015, 00:53:08 UTC
d373645 docs: glibc NSS module for resolving names in etcd 21 July 2015, 00:33:23 UTC
d86e94b Merge pull request #3128 from yichengq/doc-watch-api docs: update watch API doc for clarity 20 July 2015, 21:54:26 UTC
d52cb2e docs: add watch command and correct the example 20 July 2015, 21:49:01 UTC
40681bd Merge pull request #3146 from a-robinson/snap snap: Record the snapshot save duration on success rather than only on error 16 July 2015, 22:03:33 UTC
7d38115 Merge pull request #3148 from yichengq/update-contact Update contact section in README.md 16 July 2015, 22:01:54 UTC
f8baa4e Merge pull request #3138 from barakmich/auth_doc documentation: Add authentication walkthrough with etcdctl. Fixes #2949 16 July 2015, 20:41:15 UTC
9b962c8 README: let roadmap point to ROADMAP.md 16 July 2015, 19:58:13 UTC
c1aed32 README: update irc channel to #etcd 16 July 2015, 19:52:26 UTC
57a5520 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. 16 July 2015, 17:46:47 UTC
452a327 documentation: Add authentication walkthrough with etcdctl. Fixes #2949 15 July 2015, 19:54:26 UTC
ebbb0ca Merge pull request #3136 from yichengq/fix-proxy-doc docs: fix wrong proxy command 15 July 2015, 18:30:07 UTC
d0e976a docs: fix wrong proxy command 15 July 2015, 15:37:10 UTC
d0e3e2c Merge pull request #3131 from yichengq/remove-header-timeout discovery: remove ResponseHeaderTimeout when discovery 14 July 2015, 23:50:36 UTC
1db1761 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. 14 July 2015, 23:33:28 UTC
f52db1c docs: add back original example w/index=prevIndex 14 July 2015, 06:04:39 UTC
b94f659 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. 14 July 2015, 06:03:59 UTC
953a59d Merge pull request #3127 from yanana/emend-error-message etcdmain: emend configuration error message 14 July 2015, 05:46:08 UTC
d7276d6 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. 14 July 2015, 05:42:49 UTC
d80f4c8 Merge pull request #3125 from yichengq/doc-tuning docs: update tuning.md to match today's situation 13 July 2015, 23:52:11 UTC
8b7c600 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 13 July 2015, 23:35:30 UTC
7a520bb Merge pull request #3121 from yichengq/extend-schedule pkg/testutil: extend wait schedule time to 10ms 13 July 2015, 22:23:36 UTC
1624235 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. 13 July 2015, 16:05:40 UTC
5be545b Merge pull request #3077 from yichengq/fix-test-sync etcdserver: init raft internal var early 10 July 2015, 21:44:52 UTC
c7a9493 Merge pull request #3113 from xiang90/fix_proxy_bt etcdmain: proxy ignores discovery if it is initialized 10 July 2015, 20:12:45 UTC
dedabdd etcdmain: proxy ignores discovery if it is initialized 10 July 2015, 19:52:24 UTC
61e9b99 Merge pull request #2417 from kelseyhightower/improve-etcdctl-ls-command-help etcdctl: update the ls subcommand help to match behavior 09 July 2015, 17:33:19 UTC
4631b72 Merge pull request #3105 from xiang90/rd doc: add rolling upgrade doc for 2.1 09 July 2015, 17:27:05 UTC
1145258 doc: add rolling upgrade doc for 2.1 07 July 2015, 20:20:41 UTC
8ab388f Merge pull request #3001 from mwitkow-io/feature/rich_metrics Etcd Rich Metrics 07 July 2015, 15:12:06 UTC
7bca757 *: add metrics to `store` and `proxy`. 07 July 2015, 15:01:51 UTC
573f62f Merge pull request #3101 from yichengq/check-err integration: always check error for function calls 07 July 2015, 01:10:31 UTC
e7ed7a7 integration: always check error for function calls 07 July 2015, 00:44:36 UTC
121ff46 Merge pull request #3097 from philips/tls-churn-faq Documentation/security: add FAQ about peer TLS and etcd 2.0.x 04 July 2015, 22:30:42 UTC
83fe818 Documentation/security: add FAQ about peer TLS and etcd 2.0.x etcd 2.0.x TLS can appear not to work on smaller machines with less horse-power or lots of other work going on. Document the timeout workaround. 04 July 2015, 22:28:47 UTC
cbe00e4 Merge pull request #2967 from webner/feature/proxy-config proxy: added endpoint refresh and timeout configuration values 03 July 2015, 18:51:15 UTC
954e416 proxy: fixed director.go formatting 03 July 2015, 12:11:40 UTC
883bb47 Merge pull request #3074 from xiang90/storage_restore storage: correctly restore create and ver 30 June 2015, 16:20:19 UTC
eff67af Merge pull request #3081 from xiang90/storage_fix storage: fix small issues 30 June 2015, 05:05:46 UTC
585e74a Merge pull request #3080 from xiang90/rpc add gRPC etcd service 30 June 2015, 05:04:47 UTC
f8b947a storage: fix small issues 30 June 2015, 05:02:21 UTC
2fb8347 etcdserver: add rpc proto 30 June 2015, 03:00:09 UTC
436bacd *: introduce grpc dependency 30 June 2015, 01:59:00 UTC
718cb18 Merge pull request #3079 from xiang90/gogo *: resolve proto warnings 30 June 2015, 01:50:49 UTC
581ef05 *: resolve proto warnings 30 June 2015, 01:39:46 UTC
621b43b Merge pull request #3078 from xiang90/gogo update gogoprotobuf dependency 29 June 2015, 23:59:08 UTC
13f44e4 *: update generated proto code 29 June 2015, 23:45:25 UTC
59b479e godep: update gogo version 29 June 2015, 23:08:04 UTC
7f95780 etcdserver: init raft internal var early Its `stopped`/`done` should be created always before being used in defer in server loop. It fixes the race detected when running TestSyncTrigger. 29 June 2015, 22:34:15 UTC
235aef5 *: bump to v2.1.0-rc.0+git 29 June 2015, 21:02:40 UTC
00c32ef *: bump to v2.1.0-rc.0 29 June 2015, 21:02:39 UTC
9884c9d Merge pull request #3075 from yichengq/fix-windows Godeps/capnslog: bump to 99f6e6b8f8ea30b0f82769c1411691c44a66d015 29 June 2015, 21:02:16 UTC
207b67c Godeps/capnslog: bump to 99f6e6b8f8ea30b0f82769c1411691c44a66d015 It fixes windows building problem. 29 June 2015, 20:47:21 UTC
433f2ee storage: correctly restore create and ver Add a restore func to correctly restore create reversion and version of keys for the index. 29 June 2015, 20:44:43 UTC
8d3e3ff Merge pull request #3073 from xiang90/storage_ver storage: save version 29 June 2015, 20:19:02 UTC
ccca2b0 storage: save version 29 June 2015, 20:15:09 UTC
bd84e67 Merge pull request #3061 from yichengq/fix-stream-test rafthttp: fix TestStream uses outdated stream 29 June 2015, 18:15:29 UTC
f421eae Merge pull request #3071 from yichengq/rename-rafthttp-metrics rafthttp: message_sent_latency metrics: channel -> sendingType 29 June 2015, 17:58:36 UTC
e01d53b Merge pull request #2979 from xiang90/fix_sendapp raft: fix panic in send app 29 June 2015, 17:49:04 UTC
28342ae rafthttp: avoid TestStream to use outdated stream The original test code before fb4b0b5cf075212f79fcdfa58533915a29c0912d doesn't work because reader side may update the stream, while writer side writes message to the old stream and fails. This PR removes unnecessary call to set term, and avoids this problem to happen on term > 1 in the future. 29 June 2015, 17:46:54 UTC
2afa668 Merge pull request #3069 from yichengq/init-term rafthttp: support to init term when adding peer 29 June 2015, 17:45:53 UTC
6068761 rafthttp: message_sent_latency metrics: channel -> sendingType Better naming. 29 June 2015, 17:44:40 UTC
4430a80 Merge pull request #3063 from yichengq/fix-create-root etcdserver/auth: fix return value when creating root user 29 June 2015, 17:29:23 UTC
bb287fa Merge pull request #3051 from yichengq/doc-rafthttp-metrics docs: doc metrics used in rafthttp package 29 June 2015, 17:22:50 UTC
fb4b0b5 rafthttp: support to init term when adding peer So it doesn't need to build term-0 stream with the remote first, then update it. 29 June 2015, 17:20:48 UTC
2e41b4f etcdserver/auth: fix return value when creating root user Before: ``` $ curl http://127.0.0.1:4001/v2/auth/users/root -XPUT -d '{"user": "root", "password": "root"}' {"user":"root","roles":null} ``` After: ``` {"user":"root","roles":["root"]} ``` 28 June 2015, 06:16:54 UTC
c069119 Merge pull request #3067 from xiang90/storage_created_mod storage: save created index and modified index 28 June 2015, 06:11:05 UTC
fcdd977 docs: explain label in rafthttp metrics 26 June 2015, 22:51:39 UTC
back to top