Xiang Li
0f9d04237c
etcdserver: leader latency optimization
2016-03-12 22:51:13 -08:00
Xiang Li
c0a424c1d0
Merge pull request #4752 from aboyett/auth-doc-fix
...
authentication.md: fix formatting of fenced code block
2016-03-11 22:34:48 -08:00
Andy Boyett
3a3ddaa195
authentication.md: fix formatting of fenced code block
...
Add a missing blank line to one of the fenced code blocks in the
"Working with roles" section to conform with the formatting best
practice recommended in the GitHub guide "Creating and highlighting code
blocks"[1]:
> We recommend placing a blank line before and after code blocks to make
> the raw formatting easier to read.
The missing blank line prior to the code block causes incorrect HTML
rendering of this section within the CoreOS etcd Authentication
Guide[2]. This commit fixes the problem, but the underlying issue seems
to be a quirk of the markdown render used for the CoreOS documentation
pages, as the same markdown source does not exhibit the issue when
viewed on GitHub[3] or viewed through the python markdown module.
[1] https://help.github.com/articles/creating-and-highlighting-code-blocks/
[2] https://coreos.com/etcd/docs/2.2.5/authentication.html
[3] https://github.com/coreos/etcd/blob/v2.2.5/Documentation/authentication.md
2016-03-11 18:44:39 -08:00
Xiang Li
d0a780f248
Merge pull request #4751 from xiang90/doc
...
doc: fix refresh section in api.md
2016-03-11 09:51:35 -08:00
Xiang Li
84d2c1e7b0
doc: fix refresh section in api.md
2016-03-11 09:49:25 -08:00
Ajit Yagaty
ef0c8e5c18
etcdctl: Add an option to mk command to create in-order keys.
...
Adding a new option to the mk command to create in-order keys
under a given directory, identified by <key> argument. Optionally
TTL can also be set on the newly created in-order key.
2016-03-10 20:28:28 -08:00
Xiang Li
9f2061ce71
Merge pull request #4748 from xiang90/t
...
etcdserver: remove todo
2016-03-10 19:41:02 -08:00
Xiang Li
c6192d1d7a
etcdserver: remove todo
2016-03-10 19:10:20 -08:00
Xiang Li
47848bc2aa
Merge pull request #4747 from xiang90/re
...
*: recover lessor when applying snapshot
2016-03-10 19:04:04 -08:00
Xiang Li
adcba975cb
*: recover lessor when applying snapshot
2016-03-10 17:06:58 -08:00
Xiang Li
ae7e2c3203
Merge pull request #4743 from xiang90/doc
...
doc: add v3 data model
2016-03-10 15:36:33 -08:00
Xiang Li
6a3e8d4bde
doc: add v3 data model
2016-03-10 15:16:05 -08:00
Anthony Romano
cd6c1190b5
Merge pull request #4739 from heyitsanthony/e2e-tempdir
...
e2e: put etcd datadir in golang tempdir
2016-03-10 11:58:03 -08:00
Xiang Li
bb45bb84c4
Merge pull request #4742 from xiang90/update_b
...
godeps: update boltdb dependency
2016-03-10 11:55:11 -08:00
Xiang Li
b353372090
godeps: update boltdb dependency
2016-03-10 11:45:04 -08:00
Anthony Romano
4a6c06db13
e2e: put etcd datadir in golang tempdir
...
The command "TMPDIR=/mnt/myramdisk/etcd go test -v" was making data
directories in pwd instead of the tmpdir.
2016-03-10 11:12:08 -08:00
Xiang Li
534a16f2a2
Merge pull request #4741 from xiang90/defrag_c
...
*: add client.defrag and defrag cmd for etcdctl
2016-03-10 10:29:01 -08:00
Xiang Li
7c377fa703
*: add client.defrag and defrag cmd for etcdctl
2016-03-10 09:30:41 -08:00
Xiang Li
0c41371064
Merge pull request #4738 from xiang90/shrink_rpc
...
etcdserver: add maintain service to support defrag
2016-03-09 22:50:59 -08:00
Xiang Li
2f12ea893b
etcdserver: add maintain service to support defrag
2016-03-09 22:29:21 -08:00
Lucas Käldström
a44645e13d
etcdserver: align 64-bit atomics on 8-byte boundary
2016-03-10 07:24:33 +02:00
Anthony Romano
a243f80c80
Merge pull request #4736 from heyitsanthony/fix-setdir-help
...
etcdctl: clarify setdir purpose in help message
2016-03-09 14:52:40 -08:00
Anthony Romano
edafbe9555
etcdctl: clarify setdir purpose in help message
...
Fixes #4640
2016-03-09 14:38:57 -08:00
Xiang Li
6343410e24
Merge pull request #4735 from xiang90/fix_write
...
clientv3/integration: fix TestTxnWriteFail
2016-03-09 14:30:30 -08:00
Xiang Li
3886129f52
clientv3/integration: fix TestTxnWriteFail
...
It might take client request more than dialtimeout to fail when
we kill the connection when the client is sending request.
2016-03-09 14:03:51 -08:00
Anthony Romano
6650db53a4
Merge pull request #4733 from heyitsanthony/backend-alignment
...
storage/backend: align fields used for atomic ops
2016-03-09 11:42:55 -08:00
Anthony Romano
dd01ab6dc0
storage/backend: align fields used for atomic ops
...
Fixes crashes on 32-bit tests.
2016-03-09 11:17:27 -08:00
Xiang Li
19e39a36f7
Merge pull request #4732 from xiang90/i_future_watch
...
integration: fix TestV3WatchFutureRevision
2016-03-09 10:20:52 -08:00
Xiang Li
73c8dbd459
Merge pull request #4731 from xiang90/backend
...
backend: fix TestBackendClose by giving more time to wait for io
2016-03-09 10:12:20 -08:00
Xiang Li
39d307572e
integration: fix TestV3WatchFutureRevision
...
Fix https://github.com/coreos/etcd/issues/4730 .
Previously we put keys async and there might be a race when
the watch triggers before the put receives the response. When that
happens, put might fails to get the response since we shutdown the server
when watch triggers.
2016-03-09 09:55:52 -08:00
Xiang Li
86e43b4173
Merge pull request #4729 from xiang90/raft_fix
...
raft: remove unnecessary waitSchedule in test
2016-03-09 09:45:20 -08:00
Xiang Li
6cf4c4b3fd
backend: fix TestBackendClose by giving more time to wait for io
2016-03-09 09:44:16 -08:00
Gyu-Ho Lee
f72be5487c
Merge pull request #4728 from gyuho/util
...
pkg/fileutil: clean up interface, comments
2016-03-09 10:35:50 -07:00
Gyu-Ho Lee
22a8bbd3b1
pkg/fileutil: clean up interface, comments
2016-03-09 09:19:56 -08:00
Xiang Li
aa59e7518e
raft: remove unnecessary waitSchedule in test
2016-03-09 09:18:49 -08:00
Anthony Romano
a4624666fe
Merge pull request #4720 from heyitsanthony/fix-testremovemember
...
clientv3/integration: do not remove client member in TestMemberRemove
2016-03-08 15:22:33 -08:00
Anthony Romano
6dd53ec699
Merge pull request #4721 from heyitsanthony/build-scary-archs
...
*: build phony etcd server binary for unsupported architectures
2016-03-08 14:04:02 -08:00
Xiang Li
56fcee7ab0
Merge pull request #4718 from xiang90/v3_api
...
doc: add v3 api doc
2016-03-08 13:55:36 -08:00
Xiang Li
3f83739a51
doc: add v3 api doc
2016-03-08 13:15:06 -08:00
Anthony Romano
5f304b4dee
*: build phony etcd server binary for unsupported architectures
...
We don't qualify etcdserver for anything other than amd64, so don't
build binaries that are untested and might be unreliable.
2016-03-08 13:12:11 -08:00
Anthony Romano
e026b79c87
clientv3/integration: do not remove client member in TestMemberRemove
...
Fixes #4716
2016-03-08 11:55:26 -08:00
Xiang Li
f74d732d77
Merge pull request #4717 from joshix/portsnote
...
README: Add explanation about official vs legacy ports
2016-03-08 10:57:29 -08:00
Josh Wood
02975afe37
README: Add explanation about official vs legacy ports
...
Add a note about 2379/2380 vs 4001/7001. I believe this is as
far as we can go just yet, because we have not fully deprecated
the old ports, and still want to configure them in some instances.
Related #3480 .
2016-03-08 10:33:11 -08:00
Anthony Romano
570775fe61
Merge pull request #4710 from heyitsanthony/clientv3-tlsconfig
...
clientv3: use tls.Config in clientv3.Config
2016-03-07 16:37:24 -08:00
Anthony Romano
78132c9b5b
clientv3: use tls.Config in clientv3.Config
...
Fixes #4648
2016-03-07 16:08:40 -08:00
Anthony Romano
8e203b7bd5
Merge pull request #4711 from heyitsanthony/nuke-invfuturerev-test
...
clientv3/integration: remove invalid future revision test
2016-03-07 16:07:53 -08:00
Gyu-Ho Lee
969e42c3fa
Merge pull request #4704 from gyuho/print_rate
...
benchmark: change complete notifier first
2016-03-07 16:00:48 -08:00
Anthony Romano
4eeea5ccda
clientv3/integration: remove invalid future revision test
...
Future revisions are now supported, so test is outdated.
2016-03-07 15:52:34 -08:00
Gyu-Ho Lee
b8912c9fb1
benchmark: change complete notifier first
...
Fix https://github.com/coreos/etcd/issues/4708 .
2016-03-07 14:54:11 -08:00
Anthony Romano
e29ed898d4
Merge pull request #4707 from heyitsanthony/fix-newmember-comment
...
etcdserver: update NewMember comment to reflect how id is computed
2016-03-07 14:20:52 -08:00