Brandon Philips
beb606f066
Merge pull request #2704 from philips/build-aci-port-mountpoint
...
scripts: build-aci update to have mountPoint and ports
2015-04-29 07:30:44 -07:00
Yicheng Qin
6c77e7a737
Merge pull request #2768 from coreos/docs-formatting
...
docs: fix code block formatting
2015-04-28 14:02:30 -07:00
Barak Michener
2a50f7a1aa
Merge pull request #2770 from barakmich/new_logger
...
etcdmain: fix logging flag documentation
2015-04-28 16:53:58 -04:00
Barak Michener
ad8e3ea5dc
etcdmain: fix logging flag documentation
2015-04-28 16:31:19 -04:00
Barak Michener
2299e35d99
Merge pull request #2769 from barakmich/new_logger
...
etcdmain: New logger
2015-04-28 16:06:51 -04:00
Barak Michener
b369cf037a
etcdmain: New Logging Package
...
use capnslog
Vendor capnslog and set the flags in etcd main
remove package prefix from etcdmain
2015-04-28 15:42:32 -04:00
Rob Szumski
bfd4a29f67
docs: fix code block formatting
2015-04-28 11:17:13 -07:00
Yicheng Qin
0d6e062b5b
Merge pull request #2738 from sublimino/patch-1
...
docs: fix link to etcd-migrate in README.md
2015-04-27 22:12:57 -07:00
Yicheng Qin
eafdd3b718
Merge pull request #2730 from yichengq/tester-key-param
...
main: parameterize stress key size and key suffix range
2015-04-27 17:02:36 -07:00
Yicheng Qin
057d21cf79
main: parameterize stress key size and key suffix range
...
It faciliates tester to adjust the size of each request, the number of
keys in the store and the size of snapshot.
2015-04-27 16:46:56 -07:00
Xiang Li
33f3bb3074
Merge pull request #2754 from xiang90/member_change
...
integration: add a test case for a full cluster rotation
2015-04-27 15:44:15 -07:00
Xiang Li
077c8397d2
integration: add a test case for a full cluster rotation
2015-04-27 15:38:06 -07:00
Yicheng Qin
d080c33c07
Merge pull request #2762 from yichengq/343
...
rafthttp: stop etcd if it is found removed when stream dial
2015-04-27 15:10:39 -07:00
Yicheng Qin
1c1cccd236
rafthttp: stop etcd if it is found removed when stream dial
...
The original process is stopping etcd only when pipeline message finds itself
has been removed. After this PR, stream dial has this functionality too.
It helps fast etcd stop, which doesn't need to wait for stream break to
fall back to pipeline, and wait for election timeout to send out message
to detect self removal.
2015-04-27 15:10:00 -07:00
Xiang Li
be6f49ba32
Merge pull request #2758 from lavagetto/master
...
docs: clarify the disaster recovery guide
2015-04-25 10:54:17 -07:00
Giuseppe Lavagetto
968f3d9711
docs: clarify the disaster recovery guide
...
A bit was missing from the documentation on disaster recovery, the reset
of the advertised peer urls for the node recovered from backup. Without
that, any subsequent server joining the cluster would not be able to
speak to the first node.
2015-04-25 18:54:29 +02:00
Xiang Li
f31a57d02e
Merge pull request #2757 from yichengq/fix-typo
...
client: fix test name typo
2015-04-24 18:06:59 -07:00
Yicheng Qin
39dae50e71
client: fix test name typo
...
This is introduced at d89a862
2015-04-24 18:05:18 -07:00
Xiang Li
f244ae4aa5
Merge pull request #2756 from xiang90/client_gone
...
client: 410 is a vaild response for member.Remove
2015-04-24 17:17:12 -07:00
Xiang Li
91c45c3243
client: 410 is a vaild response for member.Remove
...
When removing a member, etcdserver might return 410 that indicates
the member has been removed. To client, 410 is a vaild response since
the client might do internal retry.
2015-04-24 17:01:23 -07:00
Xiang Li
b6aa31a5b6
Merge pull request #2750 from xiang90/member_test
...
integration: add tests around the membership change issues
2015-04-24 13:22:19 -07:00
Xiang Li
a42b9708ae
integration: add tests around the membership change issues
2015-04-24 13:07:43 -07:00
Yicheng Qin
ebecee34e0
Merge pull request #2701 from yichengq/rafthttp-anon
...
rafthttp: add remotes
2015-04-24 13:04:37 -07:00
Xiang Li
49f4c17767
Merge pull request #2751 from akolb1/solaris_fix3
...
pkg/fileutil: add filelock support for solaris
2015-04-24 12:50:13 -07:00
Alexander Kolbasov
39c7060d3b
pkg/fileutil: add filelock support for solaris
2015-04-24 12:18:08 -07:00
Yicheng Qin
9f19b5660f
rafthttp: add AddRemote
...
Add remotes to rafthttp, who help newly joined members catch up the
progress of the cluster. It supports basic message sending to remote, and
has no stream connection for simplicity. remotes will not be used
after the latest peers have been added into rafthttp.
2015-04-24 11:49:23 -07:00
Xiang Li
41c7b43dc5
Merge pull request #2749 from junxu/master
...
raft: fix typo in raftlog
2015-04-24 07:47:01 -07:00
xujun
6b7891c643
raft: fix typo in raftlog
...
fix typo in String() method of raftlog which will misorder
the "committed" and "unstable.offset" output.
2015-04-24 03:28:57 -04:00
Xiang Li
b5d4d9ae9b
Merge pull request #2713 from xiaost/etcdserver-skip-empty-entry
...
etcdserver: apply: skip empty Entry
2015-04-23 21:24:25 -07:00
xiaost
cab1e9a723
etcdserver: skip noop entry in apply
2015-04-24 12:15:51 +08:00
Yicheng Qin
0d25b20fc0
*: bump to v2.1.0-alpha.0+git
2015-04-23 15:02:51 -07:00
Yicheng Qin
c1608bcdb4
*: bump to v2.1.0-alpha.0
v2.1.0-alpha.0
2015-04-23 15:02:18 -07:00
Xiang Li
01d9c9ce17
Merge pull request #2739 from xiang90/fix_wal
...
wal: change io.EOF returned by readFull to io.ErrUnexpectedEOF
2015-04-23 14:21:19 -07:00
Barak Michener
0efcfcb87b
Merge pull request #2654 from barakmich/update_security
...
security: Update security
2015-04-23 16:16:31 -04:00
Barak Michener
fa74e702d8
security: Improve the security api as per the suggestions list in #2384
...
Subcommits:
decouple root and security enable/disable
create root role
prefix matching
godep: bump go-etcd to include credentials
add godep for speakeasy and auth entry parsing
appropriate errors for security enable/disable
WIP adding to etcd/client all the security client methods
add guest access
minor ui return tweaks
revert client changes
respond to comments, log more security operations
fix major ensure() bug, add better UX
block recursive access
fix some boneheaded mistakes
fix integration test
last comments
fix up security_api.md
philips nits
fix docs
2015-04-23 16:11:38 -04:00
Xiang Li
d1d7feacc9
wal: change io.EOF returned by readFull to io.ErrUnexpectedEOF
...
Decoder should return error for any broken block including the
one that only contains the length field. We should change io.EOF
to io.ErrUnexpectedEOF before return the error.
2015-04-23 09:53:36 -07:00
Andrew Martin
efb0b6e5c8
Fix link to etcd-migrate in README.md
2015-04-23 17:03:08 +01:00
Xiang Li
5cd6eead51
Merge pull request #2735 from robszumski/docs-migrate-link
...
docs: add absolute link to readme
2015-04-22 15:15:04 -07:00
Rob Szumski
c9878f4765
docs: add absolute link to readme
2015-04-22 13:59:08 -07:00
Xiang Li
25d857bb47
Merge pull request #2732 from robszumski/relative-links
...
docs: remove absolute links to other docs
2015-04-22 11:54:30 -07:00
Rob Szumski
bd54f46d1b
docs: remove absolute links to other docs
2015-04-22 11:47:52 -07:00
Yicheng Qin
4953e490f6
Merge pull request #2731 from yichengq/tester-wait-long
...
tools/etcd-tester: wait longer for health
2015-04-22 11:25:58 -07:00
Yicheng Qin
46d743f389
Merge pull request #2726 from yichengq/init-sstat
...
etcdserver: init server stats before passing it as argument
2015-04-22 08:39:47 -07:00
Yicheng Qin
1d96de459a
etcdserver: init server stats before passing it as argument
...
It is more reasonable to init the variable before passing it as an
argument.
It fixes a bug that etcdserver may panic on server stats when processing
a message from rafthttp streamReader before server stats is initialized
in server.Start().
2015-04-22 08:28:08 -07:00
Yicheng Qin
3127a3b659
tools/etcd-tester: wait longer for health
...
It dramatically reduce the probability that follower failed to catch up
the leader.
2015-04-21 17:55:24 -07:00
Xiang Li
b99c80874f
Merge pull request #2721 from philips/add-extended
...
etcdctl: add extended as output format
2015-04-21 12:16:00 -07:00
Brandon Philips
57270ec0b7
etcdctl: add extended as output format
...
extended wasn't documented in the help as one of the output formats, fix
this!
2015-04-21 10:22:58 -07:00
Xiang Li
f077092bc1
Merge pull request #2715 from xiang90/version
...
*: serve json version on both client and peer url
2015-04-20 16:52:14 -07:00
Xiang Li
5ad559b503
*: serve json version on both client and peer url
2015-04-20 16:23:51 -07:00
Xiang Li
9dd7c1c60b
Merge pull request #2708 from judwhite/patch-1
...
README.md: change setDir -> setdir
2015-04-20 13:56:35 -07:00