662b4966d0
Merge pull request #3510 from xiang90/v3_raft
...
etcdmain: support gRPC addr flag
2015-09-12 22:58:08 -07:00
a0cfcf2dd7
etcdmain: support gRPC addr flag
2015-09-12 22:52:51 -07:00
35f1531576
Merge pull request #3509 from xiang90/v3_raft
...
etcdctlv3: support endpoint flag
2015-09-12 22:51:36 -07:00
121d2b9e9d
etcdctlv3: support endpoint flag
2015-09-12 22:46:43 -07:00
0894294074
readme: Use SVG image for build status badge
...
More accessible, better scaling.
2015-09-13 01:12:11 -04:00
0ca800fbac
Merge pull request #3479 from mitake/membership
...
etcdserver: avoid deadlock caused by adding members with wrong peer URLs
2015-09-12 22:09:13 -07:00
dad32646eb
etcdserver: enhance test cases for isReadyToAddNewMember
...
- a case of a cluster with even number members
- a case of an empty cluster
2015-09-13 12:30:10 +09:00
d9cf752060
etcdserver: add test for isReadyToAddNewMember
...
Also fixed check for special case of one-member cluster
2015-09-13 11:16:08 +09:00
6974fc63ed
etcdserver: avoid deadlock caused by adding members with wrong peer URLs
...
Current membership changing functionality of etcd seems to have a
problem which can cause deadlock.
How to produce:
1. construct N node cluster
2. add N new nodes with etcdctl member add, without starting the new members
What happens:
After finishing add N nodes, a total number of the cluster becomes 2 *
N and a quorum number of the cluster becomes N + 1. It means
membership change requires at least N + 1 nodes because Raft treats
membership information in its log like other ordinal log append
requests.
Assume the peer URLs of the added nodes are wrong because of miss
operation or bugs in wrapping program which launch etcd. In such a
case, both of adding and removing members are impossible because the
quorum isn't preserved. Of course ordinal requests cannot be
served. The cluster would seem to be deadlock.
Of course, the best practice of adding new nodes is adding one node
and let the node start one by one. However, the effect of this problem
is so serious. I think preventing the problem forcibly would be
valuable.
Solution:
This patch lets etcd forbid adding a new node if the operation changes
quorum and the number of changed quorum is larger than a number of
running nodes. If etcd is launched with a newly added option
-strict-reconfig-check, the checking logic is activated. If the option
isn't passed, default behavior of reconfig is kept.
Fixes https://github.com/coreos/etcd/issues/3477
2015-09-13 09:31:53 +09:00
68d4ec3e13
raft: improve panic error message
...
Give a human being some insight into how we might have gotten to this
state based on feedback from #3504 .
2015-09-12 12:17:02 -07:00
d4e19d1afb
Merge pull request #3501 from yichengq/update-peers
...
docs/admin_guide: use ETCDCTL_ENDPOINT
2015-09-12 08:31:47 -07:00
e9512f8c5f
docs/admin_guide: use ETCDCTL_ENDPOINT
...
because ETCDCTL_PEERS is not prefered.
2015-09-11 19:38:55 -07:00
28a371471a
Merge pull request #3500 from yichengq/fix-ETCD
...
libraries-and-tools.md: correct project name to etcd
2015-09-11 19:34:15 -07:00
4e71954111
libraries-and-tools.md: correct project name to etcd
...
etcd is the official name of the project.
2015-09-11 19:31:40 -07:00
a528cb6f5d
Merge pull request #3495 from rekby/patch-2
...
libraries-and-tools.md: add etcddir
2015-09-11 19:30:03 -07:00
f8f702b3f8
Merge pull request #3497 from jonboulle/master
...
docs: add official client to libraries-and-tools
2015-09-11 15:17:30 -07:00
fd82f0b8d5
docs: add official client to libraries-and-tools
2015-09-11 15:16:02 -07:00
136efd3ba9
libraries-and-tools.md: add etcddir
2015-09-11 21:04:56 +03:00
c5c3ae4790
Merge pull request #3486 from yichengq/readme
...
README: warn that master branch is unstable
2015-09-10 19:20:35 -07:00
56d61d995a
Merge pull request #3487 from onlyjob/master
...
Minor spelling corrections (codespell).
2015-09-10 17:46:29 -07:00
b2f4a5f587
*: fix spelling issues (codespell).
...
Signed-off-by: Dmitry Smirnov <onlyjob@member.fsf.org >
2015-09-11 10:22:29 +10:00
bd5f924b0f
README: warn that master branch is unstable
...
Avoid users building from master branch for stable binaries.
2015-09-10 14:27:10 -07:00
1de63deca4
Merge pull request #3483 from xiang90/update_roadmap
...
roadmap.md: update roadmap for 2.3
2015-09-10 13:32:30 -07:00
f51c2f471b
Merge pull request #3482 from yichengq/client
...
client: add Nodes type to faciliate sorting
2015-09-10 12:29:12 -07:00
07bd9f65d3
roadmap.md: update roadmap for 2.3
2015-09-10 12:24:48 -07:00
2f558e56d2
client: add Nodes to codecgen and regenerate
2015-09-10 11:51:59 -07:00
eb51901830
client: add Nodes type to faciliate sorting
...
This helps users to sort easily.
2015-09-10 11:03:12 -07:00
db0511e28c
*: bump to v2.2.0+git
2015-09-10 10:03:07 -07:00
e4561dd8cf
*: bump to v2.2.0
v2.2.0
2015-09-10 10:02:45 -07:00
6e7725cd51
Merge pull request #3478 from endocode/kayrus/typo_fix
...
doc: member id typo fixed
2015-09-10 00:11:26 -07:00
37392ad223
doc: member id typo fixed
2015-09-10 08:47:45 +02:00
9b032c6a00
Merge pull request #3473 from MrLawes/master
...
doc: fix bad url in using a directory TTL section
2015-09-09 18:57:09 -07:00
1c058e9706
doc: fix bad url in using a directory TTL section
2015-09-10 09:23:10 +08:00
f3085d2ea4
Merge pull request #3459 from yichengq/release-doc
...
docs/dev: add release doc
2015-09-09 17:46:10 -07:00
b70e6fc677
docs/dev: add release doc
...
It documents the standard way to release etcd today. Maintainer should
follow this doc to cut release, and update it in time to fit current
situation.
2015-09-09 16:42:31 -07:00
c34cf04c27
Merge pull request #3448 from yichengq/release-script
...
scripts: add release.sh
2015-09-09 13:54:15 -07:00
bdd8774169
Merge pull request #3204 from endocode/kayrus/recovery
...
Improved "disaster restore" doc, added "member update" command descri…
2015-09-09 12:23:51 -07:00
19ad634673
doc: improved "disaster restore" doc, added "member update" command description
2015-09-09 20:07:31 +02:00
7d4cd7c76a
scripts: add release.sh
...
It could build all binaries and images for the given version.
2015-09-09 09:50:41 -07:00
af0474f2e3
Merge pull request #3465 from raoofm/patch-1
...
etcdmain: Proxy doesnt specify - listening on http or https
2015-09-08 14:38:55 -07:00
2de1c36061
etcdmain: Proxy doesnt specify - listening on http or https
...
etcdmain: Proxy doesnt specify - listening on http or https
Fixes #3464
2015-09-08 17:19:23 -04:00
ccdd10c757
Merge pull request #3463 from yichengq/update-roadmap
...
roadmap: remove 2.2 section
2015-09-08 13:55:50 -07:00
c837f0526f
roadmap: remove 2.2 section
...
We have finished all of them.
2015-09-08 13:43:39 -07:00
d8e6e217fd
Merge pull request #3461 from xiang90/doc
...
doc: remove one limitation in upgrade doc
2015-09-08 13:29:43 -07:00
3689ea3071
doc: remove one limitation in upgrade doc
2015-09-08 13:28:23 -07:00
a44da0b62a
Merge pull request #3451 from raoofm/patch-1
...
discovery: log error only if both ssl and non-ssl srv lookups fail
2015-09-06 20:54:43 -07:00
9a2809f0b5
discovery: log error only if both ssl and non-ssl srv lookups fail
...
discovery: log error only if both ssl and non-ssl srv lookups fail
Earlier we were logging as soon as one of the lookups failed.
Fixes #3414
2015-09-06 23:44:19 -04:00
48a4d2ccba
Documentation/tuning: cleanup paragraph on max election
...
- Use one sentence per line for easier diffing
- Walkthrough the thought process and cleanup the grammar
- Move below the other sections
Original author: @philips
2015-09-06 00:38:03 -07:00
184337568d
scripts/build-docker: build docker in image-docker dir
...
The docker build command will use whatever directory contains the
Dockerfile as the build context (including all of its subdirectories).
And the <src> path of ADD must be inside the context of the build.
So change it to build in a specific directory for clean and fast.
2015-09-06 00:17:41 -07:00
15d1db9bf8
scripts/build-aci: support BINARYDIR and BUILDDIR
...
This makes it more configurable, and is ready for overall release script.
2015-09-06 00:17:41 -07:00