Xiang Li
999b2c6ec2
doc: add proxy promotion doc
2015-09-21 11:47:37 -07:00
Xiang Li
ac29432aab
proxy: add a test for configHandler
2015-09-18 13:43:54 -07:00
Xiang Li
e079f87410
proxy: expose proxy configuration
2015-09-15 10:27:51 -07:00
Xiang Li
b1c2d7e526
Merge pull request #3528 from xiang90/compact
...
*: support v3 compaction
2015-09-14 20:04:50 -07:00
Xiang Li
94f784826a
*: support v3 compaction
2015-09-14 19:59:36 -07:00
Xiang Li
e0d8923f7b
Merge pull request #3524 from xiang90/grpc_error
...
etcdserver: use gRPC error instead of error message in header
2015-09-14 16:38:44 -07:00
Xiang Li
7183387110
etcdserver: use gRPC error instead of error message in header
2015-09-14 16:11:13 -07:00
Xiang Li
d04382c30e
Merge pull request #3525 from gyuho/master
...
etcdserver, store: fix grammars in comments (a->an existing)
2015-09-14 13:47:49 -07:00
Gyu-Ho Lee
c2dcf7431e
etcdserver, store: fix grammars in comments (a->an existing)
...
I found some grammatical errors in comments.
This pull request was submitted https://github.com/coreos/etcd/pull/3513 .
I am resubmitting following the correct guidlines.
2015-09-14 13:41:13 -07:00
Yicheng Qin
1fc122741d
Merge pull request #3521 from raoofm/patch-3
...
doc: faq.md change flag --peers to --endpoint
2015-09-14 09:43:41 -07:00
Xiang Li
c7b4c67436
Merge pull request #3514 from xiang90/v3_raft
...
support clustered v3 api
2015-09-14 09:35:02 -07:00
Raoof Mohammed
d685135832
doc: faq.md change flag --peers to --endpoint
...
doc: faq.md change flag --peers to --endpoint
Changing the flag to --endpoint and mentioning that --peers is deprecated.
2015-09-14 12:22:06 -04:00
Xiang Li
451cce4a90
Merge pull request #3516 from xiang90/hash_improved
...
storage: support hash state
2015-09-13 21:46:12 -07:00
Xiang Li
714b5e0b08
storage: support hash state
2015-09-13 21:34:58 -07:00
Xiang Li
cdaa263346
Merge pull request #3506 from philips/improve-tocommit-error
...
raft: improve panic error message
2015-09-13 17:46:53 -07:00
Xiang Li
f8fd2c10d6
Merge pull request #3449 from yichengq/cleanup-max-election
...
Documentation/tuning: cleanup paragraph on max election
2015-09-13 16:55:16 -07:00
Yicheng Qin
95bb6d7584
Merge pull request #3508 from amarshall/patch-3
...
readme: Use SVG image for build status badge
2015-09-13 15:21:58 -07:00
Xiang Li
40e0a33fcd
Merge pull request #3511 from xiang90/v3_raft
...
Procfile: add a v3DemoProcfile
2015-09-13 08:43:14 -07:00
Xiang Li
4c81615cef
etcdserver: initial support for cluster-wide v3 request
2015-09-13 08:32:01 -07:00
Xiang Li
600456f4ba
etcdserverpb: update proto file for raftInternalRequest
...
We needs to assign each raftInternalRequest an ID for getting
the response after it goes through raft.
We also needs an empty response for error case.
2015-09-13 08:28:10 -07:00
Xiang Li
ac7253f28e
Procfile: add a v3DemoProcfile
2015-09-12 23:08:56 -07:00
Xiang Li
662b4966d0
Merge pull request #3510 from xiang90/v3_raft
...
etcdmain: support gRPC addr flag
2015-09-12 22:58:08 -07:00
Xiang Li
a0cfcf2dd7
etcdmain: support gRPC addr flag
2015-09-12 22:52:51 -07:00
Xiang Li
35f1531576
Merge pull request #3509 from xiang90/v3_raft
...
etcdctlv3: support endpoint flag
2015-09-12 22:51:36 -07:00
Xiang Li
121d2b9e9d
etcdctlv3: support endpoint flag
2015-09-12 22:46:43 -07:00
Andrew Marshall
0894294074
readme: Use SVG image for build status badge
...
More accessible, better scaling.
2015-09-13 01:12:11 -04:00
Yicheng Qin
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
Hitoshi Mitake
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
Jonathan Boulle
d9cf752060
etcdserver: add test for isReadyToAddNewMember
...
Also fixed check for special case of one-member cluster
2015-09-13 11:16:08 +09:00
Hitoshi Mitake
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
Brandon Philips
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
Yicheng Qin
d4e19d1afb
Merge pull request #3501 from yichengq/update-peers
...
docs/admin_guide: use ETCDCTL_ENDPOINT
2015-09-12 08:31:47 -07:00
Yicheng Qin
e9512f8c5f
docs/admin_guide: use ETCDCTL_ENDPOINT
...
because ETCDCTL_PEERS is not prefered.
2015-09-11 19:38:55 -07:00
Yicheng Qin
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
Yicheng Qin
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
Yicheng Qin
a528cb6f5d
Merge pull request #3495 from rekby/patch-2
...
libraries-and-tools.md: add etcddir
2015-09-11 19:30:03 -07:00
Jonathan Boulle
f8f702b3f8
Merge pull request #3497 from jonboulle/master
...
docs: add official client to libraries-and-tools
2015-09-11 15:17:30 -07:00
Jonathan Boulle
fd82f0b8d5
docs: add official client to libraries-and-tools
2015-09-11 15:16:02 -07:00
Timofey Koolin
136efd3ba9
libraries-and-tools.md: add etcddir
2015-09-11 21:04:56 +03:00
Yicheng Qin
c5c3ae4790
Merge pull request #3486 from yichengq/readme
...
README: warn that master branch is unstable
2015-09-10 19:20:35 -07:00
Xiang Li
56d61d995a
Merge pull request #3487 from onlyjob/master
...
Minor spelling corrections (codespell).
2015-09-10 17:46:29 -07:00
Dmitry Smirnov
b2f4a5f587
*: fix spelling issues (codespell).
...
Signed-off-by: Dmitry Smirnov <onlyjob@member.fsf.org>
2015-09-11 10:22:29 +10:00
Yicheng Qin
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
Xiang Li
1de63deca4
Merge pull request #3483 from xiang90/update_roadmap
...
roadmap.md: update roadmap for 2.3
2015-09-10 13:32:30 -07:00
Yicheng Qin
f51c2f471b
Merge pull request #3482 from yichengq/client
...
client: add Nodes type to faciliate sorting
2015-09-10 12:29:12 -07:00
Xiang Li
07bd9f65d3
roadmap.md: update roadmap for 2.3
2015-09-10 12:24:48 -07:00
Yicheng Qin
2f558e56d2
client: add Nodes to codecgen and regenerate
2015-09-10 11:51:59 -07:00
Yicheng Qin
eb51901830
client: add Nodes type to faciliate sorting
...
This helps users to sort easily.
2015-09-10 11:03:12 -07:00
Yicheng Qin
db0511e28c
*: bump to v2.2.0+git
2015-09-10 10:03:07 -07:00
Yicheng Qin
e4561dd8cf
*: bump to v2.2.0
v2.2.0
2015-09-10 10:02:45 -07:00