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
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
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
Yicheng Qin
1811701427
Revert "etcdserver: fix cluster fallback recovery"
...
This reverts commit cff005777a
.
Conflicts:
etcdserver/server.go
2015-04-19 11:34:33 -07:00
Yicheng Qin
88224f6f4e
Revert "etcdserver: not apply stale conf change in cluster and transport"
...
This reverts commit 40197f0698
.
2015-04-19 11:08:03 -07:00
Xiang Li
4eae0e06e5
Merge pull request #2709 from justinsb/specify_bash_in_genproto
...
genproto assumes bash; specify bash
2015-04-18 15:31:00 -07:00
Justin Santa Barbara
117cb995a5
script: genproto assumes bash; specify bash
2015-04-18 15:13:35 -07:00
Jud White
d0f1bf9f8e
README.md: change setDir -> setdir
2015-04-18 05:33:32 -05:00
Xiang Li
90a7978474
Merge pull request #2666 from philips/check-error-in-store
...
store: always check the error
2015-04-17 20:14:32 -07:00
Xiang Li
61e94ae16c
Merge pull request #2625 from bakins/client-srv
...
Initial SRV discovery for clients
2015-04-17 08:07:32 -07:00
Brian Akins
c4899c201e
client: Discovery via SRV lookups
...
Based on code from discovery/srv.go. The returns the target as DNS
returns it. In the case of SSL, certs are tied to the hostname and not
the IP address generally.
Solves #2547
2015-04-17 10:57:01 -04:00
Brandon Philips
2a675c08c2
store: always check the error
...
Ensure that we propogate any errors out of the node.Remove operation
back to the user. There is no reason to assume here.
2015-04-16 17:22:57 -07:00
Xiang Li
54c4d5005d
Merge pull request #2673 from ecnahc515/create_in_order
...
client: Add CreateInOrder method to client.KeysAPI
2015-04-16 13:34:09 -07:00
Rob Szumski
ee54aa3f02
Merge pull request #2697 from coreos/robszumski-patch-1
...
docs: size up all headers by 2
2015-04-16 10:10:35 -07:00
Rob Szumski
df32fe63c8
docs: size up all headers by 2
2015-04-16 09:55:46 -07:00
Xiang Li
38a373ede9
Merge pull request #2692 from philips/add-migration-guide
...
Documentation: add migration notes to backward compatibility
2015-04-16 07:05:07 -07:00
Brandon Philips
a223fd532b
Documentation: add migration notes to backward compatibility
...
Add thorough notes on both the data directory migration and the snapshot
migration options.
2015-04-15 20:42:12 -07:00
Xiang Li
3e5d1cd873
Merge pull request #2678 from xiang90/fix_snapshot
...
snap: load should only return ErrNoSnapshot
2015-04-15 09:53:17 -07:00
Xiang Li
f697916793
snap: load should only return ErrNoSnapshot
...
If there is no available snapshot, load should return
ErrNoSnapshot. etcdserver might recover from that error
if it still have complete WAL files.
2015-04-15 09:41:07 -07:00
Xiang Li
0c3a92f855
Merge pull request #2663 from xiang90/wal_b
...
wal: report throughput in wal bench
2015-04-15 09:32:17 -07:00
Xiang Li
da098ad713
Merge pull request #2685 from xiang90/fix_server
...
etcdserver: prevExist=true + condition is compareAndSwap
2015-04-15 09:17:13 -07:00
Xiang Li
98f8dfbc9d
etcdserver: prevExist=true + condition is compareAndSwap
...
PrevExist indicates the key should exist. Condition compares with
an existing key. So PrevExist+condition = CompareAndSwap not Update.
2015-04-14 23:44:06 -07:00
Xiang Li
3aa7a31771
Merge pull request #2680 from xiang90/fix_backup
...
etcdctl: backup tool should use the new layout
2015-04-14 11:50:14 -07:00
Xiang Li
d3778b1286
etcdctl: backup tool should use the new layout
2015-04-14 11:49:54 -07:00
Chance Zibolski
d89a8628c6
client: Add CreateInOrder method to client.KeysAPI
...
Allows creating nodes within a given directory with atomically increasing
keys
2015-04-13 17:23:17 -07:00
Xiang Li
f480a8b051
Merge pull request #2665 from xiaost/fix-minor-bug-in-etcdserver-send
...
etcdserver: fix minor bug in EtcdServer.send
2015-04-13 07:27:12 -07:00