Xiang Li
79c263b2ec
Merge pull request #3707 from xiang90/CI
...
pkg/transport: longer timeout for slow CI
2015-10-18 17:22:15 -07:00
Xiang Li
7c6e2deb66
Merge pull request #3708 from xiang90/travis
...
travis: drop go-nyet
2015-10-18 16:43:53 -07:00
Xiang Li
559b76f401
travis: drop go-nyet
2015-10-18 16:41:57 -07:00
Xiang Li
3c1ecf70cf
pkg/transport: longer timeout for slow CI
2015-10-18 16:32:18 -07:00
Xiang Li
5372e11727
Merge pull request #3704 from xiang90/rafthttp
...
clean up rafthttp pkg: round1
2015-10-18 10:00:26 -07:00
Xiang Li
427a154aae
rafthttp: various clean up
2015-10-18 09:49:18 -07:00
Xiang Li
7d3af5e15f
rafthttp: rename message.go -> message_codec.go
2015-10-18 09:49:11 -07:00
Xiang Li
e87cd0c17b
rafthttp: move new funcs to right place
2015-10-18 09:48:59 -07:00
Xiang Li
f08d750b0b
Merge pull request #3697 from mqliang/cluster-health
...
etcdctl: fix health check condition
2015-10-18 09:26:05 -07:00
Xiang Li
478fab6aca
rafthttp: rename NewHandler to newPipelineHandler
2015-10-17 22:33:28 -07:00
Xiang Li
080c11d14e
rafthttp: make ConnReadLimitByte private and add comment
2015-10-17 22:20:36 -07:00
Xiang Li
5efdd7bc6d
storage/backend: avoid creating new bolt.tx during a batchTx
2015-10-17 21:31:34 -07:00
mqliang
b2d92dedae
etcdctl:fix health check condition
2015-10-18 08:22:13 +08:00
Xiang Li
d07c9b00e5
Merge pull request #3701 from xiang90/rm_end_watcher
...
storage: remove the endRev of watcher
2015-10-17 16:04:27 -07:00
Xiang Li
6556bf1643
storage: remove the endRev of watcher
2015-10-17 15:59:49 -07:00
Xiang Li
f78a11d468
Merge pull request #3694 from philips/fix-configuration-headers
...
Documentation: configuration docs headers
2015-10-16 12:39:10 -07:00
Brandon Philips
22d8ca4c9a
Documentation: configuration docs headers
...
The configuration docs are indented weird compared to our standards.
This makes the sidebar here not work right:
https://coreos.com/etcd/docs/latest/configuration.html
2015-10-16 12:32:57 -07:00
Xiang Li
fd07e02604
Merge pull request #3691 from gyuho/documentation_20151015
...
raft/documentation: clarify progress's subjects.
2015-10-15 20:02:00 -07:00
Gyu-Ho Lee
1716d5858f
raft/documentation: clarify progress's subjects.
...
If I understand correctly, `progress` represents the states of follower. For
me, some comments weren't clear because it was missing the subjects of
`progress`. This adds more clarification on who is doing what. Please let me
know if I misunderstood anything. Thanks,
2015-10-15 19:15:08 -07:00
Yicheng Qin
9ce79dbbc3
Merge pull request #3685 from gyuho/etcdctl_mk_command_2
...
etcdctl: fix mk command with PrevNoExist
2015-10-15 12:13:54 -07:00
Xiang Li
df34d67e98
Merge pull request #3689 from ccding/patch-1
...
raft/doc: fix misuse of `for' loop in docs
2015-10-15 09:20:05 -07:00
Cong Ding
362df8e470
raft/doc: fix misuse of `for' loop in docs
2015-10-15 11:13:30 -05:00
Gyu-Ho Lee
1dab7e8084
etcdctl/command: mk command with PrevNoExist
...
This attempts to fix #3676 . `PrevNoExist` checks if the key previously exists
and if so, it returns an error, which is how `mk` command is supposed to work.
The previous code ignores the previous key and overwrites with the later value.
/cc @yichengq
2015-10-15 09:05:17 -07:00
Xiang Li
c2e49b5622
Merge pull request #3687 from ccding/patch-1
...
raft/doc: fix typos
2015-10-15 07:52:43 -07:00
Cong Ding
f1f92f0fa3
raft/doc: fix typos
2015-10-15 02:17:34 -05:00
Yicheng Qin
afd74dfeb7
Merge pull request #3611 from mitake/etcdctl-timeout
...
etcdctl: use a context with -total-timeout in simple commands
2015-10-14 16:13:34 -07:00
Yicheng Qin
f78ccbbd3f
Merge pull request #3681 from yichengq/godep-update
...
Godeps: update prometheus dependency
2015-10-14 11:44:49 -07:00
Yicheng Qin
d807c895b8
Godeps: update prometheus dependency
...
prometheus updates its directory layout
(https://github.com/prometheus/client_golang#where-is-model-extraction-and-text )
and makes Godeps restore/save unable to work.
Remove all prometheus dependency manually and godep save again to fix
this problem.
2015-10-14 09:58:36 -07:00
Jonathan Boulle
aeb6ef5d8a
Merge pull request #3680 from gyuho/Documentation_20151014
...
Documentation: typos in discovery, faq, security
2015-10-14 08:50:02 -07:00
Gyu-Ho Lee
0598de2e25
Documentation: typos in discovery, faq, security
...
This just fixes some typos from my reading Documentation.
Thanks,
Documentation: security
2015-10-14 08:48:01 -07:00
Yicheng Qin
d2b40c1c98
Merge pull request #3666 from yichengq/transport-snap
...
rafthttp: support sending v3 snapshot message
2015-10-13 23:58:02 -07:00
Yicheng Qin
1f21ccf166
rafthttp: support sending v3 snapshot message
...
Use snapshotSender to send v3 snapshot message. It puts raft snapshot
message and v3 snapshot into request body, then sends it to the target peer.
When it receives http.StatusNoContent, it knows the message has been
received and processed successfully.
As receiver, snapHandler saves v3 snapshot and then processes the raft snapshot
message, then respond with http.StatusNoContent.
2015-10-13 23:11:28 -07:00
Jonathan Boulle
6afd8e4fd9
ROADMAP: fix v3 API issues link
2015-10-12 20:56:20 -07:00
Yicheng Qin
70dc205500
Merge pull request #3665 from raoofm/patch-2
...
hack: bench to use Content Type as value written was always empty
2015-10-12 11:35:34 -07:00
Raoof Mohammed
90e8dcd9bf
hack: benchmarking to use Content Type
...
hack: benchmarking to use Content Type: application/x-www-form-urlencoded
boom sends PUT request with Content-Type: text/html, and this cannot be parsed by etcd. It should use Content-Type: application/x-www-form-urlencoded. Post this fix the official etcd benchmarks should be updated as the keysize was not a factor as the value being set was always empty.
2015-10-12 10:03:09 -04:00
Xiang Li
df7074911e
Merge pull request #3664 from yichengq/transport-more
...
rafthttp: build transport inside pkg instead of passed-in
2015-10-11 22:00:05 -07:00
Yicheng Qin
207c92b627
rafthttp: build transport inside pkg instead of passed-in
...
rafthttp has different requirements for connections created by the
transport for different usage, and this is hard to achieve when giving
one http.RoundTripper. Pass into pkg the data needed to build transport
now, and let rafthttp build its own transports.
2015-10-11 21:42:37 -07:00
Yicheng Qin
988a09eb20
Merge pull request #3663 from yichengq/transport-rt
...
pkg/transport: pass dial timeout to NewTransport
2015-10-11 10:12:09 -07:00
Yicheng Qin
9673eb625a
pkg/transport: pass dial timeout to NewTransport
...
So we could set dial timeout for new transport, which makes it
customizable according to max RTT.
2015-10-11 10:09:25 -07:00
Yicheng Qin
017f5f4670
Merge pull request #3662 from yichengq/transport
...
rafthttp: expose struct to set configuration
2015-10-11 09:35:15 -07:00
Yicheng Qin
233e717e2f
rafthttp: expose struct to set configuration
...
transport takes too many arguments and the new function is unable to
read. Change the way to set fields in transport struct directly.
2015-10-11 09:02:16 -07:00
Xiang Li
9534b11ad2
Merge pull request #3660 from gyuho/Documentation_typos_20151009
...
Documentation: fix typos
2015-10-09 16:10:49 -07:00
Gyu-Ho Lee
d05d6f8bbb
Documentation: fix typos
...
I found some typos. Please let me know if you have any feedback.
Thanks,
Documentation: fix metrics.md typo
Documentation: trim blank lines in metrics.md
2015-10-09 15:56:58 -07:00
Yicheng Qin
ce45159767
Merge pull request #3655 from wojtek-t/update_dependency
...
Update dependency on ugorji/go/codec
2015-10-09 10:23:47 -07:00
Wojciech Tyczynski
4eb598be06
client: regenerate code to unmarshal key response
...
Regenerate code for unmarshaling key response with a new version of
ugorji/go/codec
2015-10-09 10:59:42 +02:00
Wojciech Tyczynski
8ebbec8e05
Godeps: update ugorji/go/codec dependency
...
Update ugorji/go/codec dependency to the newer version (a bunch of fixed were made).
2015-10-09 10:59:42 +02:00
Yicheng Qin
eadfd138a4
Merge pull request #3658 from mqliang/patch-2
...
docs/api.md: fix documentation
2015-10-08 19:51:54 -07:00
mqliang
8c580ffe2d
docs/api.md: fix documentation
...
Fix documentation
2015-10-09 10:41:12 +08:00
Xiang Li
98e30ca7c2
etcdserver: skip updating attr if the member does not exist
2015-10-08 14:07:16 -07:00
Yicheng Qin
f74ff9b867
Merge pull request #3644 from mitake/test-race
...
etcdserver, test: don't access testing.T in time.AfterFunc()'s own go…
2015-10-07 08:34:58 -07:00