954e416bf6
proxy: fixed director.go formatting
2015-07-03 14:11:40 +02:00
883bb47dcf
Merge pull request #3074 from xiang90/storage_restore
...
storage: correctly restore create and ver
2015-06-30 09:20:19 -07:00
eff67afc60
Merge pull request #3081 from xiang90/storage_fix
...
storage: fix small issues
2015-06-29 22:05:46 -07:00
585e74a1b1
Merge pull request #3080 from xiang90/rpc
...
add gRPC etcd service
2015-06-29 22:04:47 -07:00
f8b947a00b
storage: fix small issues
2015-06-29 22:02:21 -07:00
2fb8347d36
etcdserver: add rpc proto
2015-06-29 20:00:09 -07:00
436bacd77a
*: introduce grpc dependency
2015-06-29 18:59:00 -07:00
718cb18ca2
Merge pull request #3079 from xiang90/gogo
...
*: resolve proto warnings
2015-06-29 18:50:49 -07:00
581ef05bab
*: resolve proto warnings
2015-06-29 18:39:46 -07:00
621b43bacb
Merge pull request #3078 from xiang90/gogo
...
update gogoprotobuf dependency
2015-06-29 16:59:08 -07:00
13f44e4b79
*: update generated proto code
2015-06-29 16:45:25 -07:00
59b479e59b
godep: update gogo version
2015-06-29 16:08:04 -07:00
7f95780bfb
etcdserver: init raft internal var early
...
Its `stopped`/`done` should be created always before being used
in defer in server loop.
It fixes the race detected when running TestSyncTrigger.
2015-06-29 15:34:15 -07:00
235aef5365
*: bump to v2.1.0-rc.0+git
2015-06-29 14:02:40 -07:00
00c32ef022
*: bump to v2.1.0-rc.0
v2.1.0-rc.0
2015-06-29 14:02:39 -07:00
9884c9d977
Merge pull request #3075 from yichengq/fix-windows
...
Godeps/capnslog: bump to 99f6e6b8f8ea30b0f82769c1411691c44a66d015
2015-06-29 14:02:16 -07:00
207b67c72a
Godeps/capnslog: bump to 99f6e6b8f8ea30b0f82769c1411691c44a66d015
...
It fixes windows building problem.
2015-06-29 13:47:21 -07:00
433f2ee1bc
storage: correctly restore create and ver
...
Add a restore func to correctly restore create reversion and
version of keys for the index.
2015-06-29 13:44:43 -07:00
8d3e3ff25a
Merge pull request #3073 from xiang90/storage_ver
...
storage: save version
2015-06-29 13:19:02 -07:00
ccca2b04da
storage: save version
2015-06-29 13:15:09 -07:00
bd84e678e6
Merge pull request #3061 from yichengq/fix-stream-test
...
rafthttp: fix TestStream uses outdated stream
2015-06-29 11:15:29 -07:00
f421eaeff7
Merge pull request #3071 from yichengq/rename-rafthttp-metrics
...
rafthttp: message_sent_latency metrics: channel -> sendingType
2015-06-29 10:58:36 -07:00
e01d53b853
Merge pull request #2979 from xiang90/fix_sendapp
...
raft: fix panic in send app
2015-06-29 10:49:04 -07:00
28342ae097
rafthttp: avoid TestStream to use outdated stream
...
The original test code before fb4b0b5cf0
doesn't work because reader side may update the
stream, while writer side writes message to the old stream and fails.
This PR removes unnecessary call to set term, and avoids this problem to
happen on term > 1 in the future.
2015-06-29 10:46:54 -07:00
2afa6688ab
Merge pull request #3069 from yichengq/init-term
...
rafthttp: support to init term when adding peer
2015-06-29 10:45:53 -07:00
606876154d
rafthttp: message_sent_latency metrics: channel -> sendingType
...
Better naming.
2015-06-29 10:44:40 -07:00
4430a80c0f
Merge pull request #3063 from yichengq/fix-create-root
...
etcdserver/auth: fix return value when creating root user
2015-06-29 10:29:23 -07:00
bb287fa22e
Merge pull request #3051 from yichengq/doc-rafthttp-metrics
...
docs: doc metrics used in rafthttp package
2015-06-29 10:22:50 -07:00
fb4b0b5cf0
rafthttp: support to init term when adding peer
...
So it doesn't need to build term-0 stream with the remote first, then update it.
2015-06-29 10:20:48 -07:00
2e41b4f9e1
etcdserver/auth: fix return value when creating root user
...
Before:
```
$ curl http://127.0.0.1:4001/v2/auth/users/root -XPUT -d '{"user": "root",
"password": "root"}'
{"user":"root","roles":null}
```
After:
```
{"user":"root","roles":["root"]}
```
2015-06-27 23:16:54 -07:00
c069119abe
Merge pull request #3067 from xiang90/storage_created_mod
...
storage: save created index and modified index
2015-06-27 23:11:05 -07:00
fcdd9779e9
docs: explain label in rafthttp metrics
2015-06-26 15:51:39 -07:00
4581064060
storage: save created index and modified index
2015-06-26 12:10:26 -07:00
3e455ed104
Merge pull request #3062 from yichengq/fix-auth-doc
...
docs: fix typos in auth_api.md
2015-06-25 17:54:05 -07:00
9c695dce25
docs: fix typos in auth_api.md
2015-06-25 17:37:16 -07:00
acca9cc3a9
Merge pull request #3047 from barakmich/auth_cov
...
auth: improve test coverage
2015-06-25 14:47:22 -04:00
39c10d1fe4
auth: improve test coverage
2015-06-25 14:25:08 -04:00
3d4642c2c4
Merge pull request #3059 from yichengq/fix-wait-stress-test
...
pkg/wait: extend timeout to check closed channel
2015-06-25 11:16:54 -07:00
35d0839909
Merge pull request #3057 from yichengq/fix-snap-test
...
etcdserver: fix TestTriggerSnap
2015-06-25 10:51:36 -07:00
a347e1ecf5
Merge pull request #3058 from yichengq/fix-purge
...
pkg/fileutil: fix TestPurgeFile
2015-06-25 10:50:36 -07:00
eea7f28be4
pkg/wait: extend timeout to check closed channel
...
It is possible to trigger the time.After case if the timer went off
between time.After setting the timer for its channel and the time that
select looked at the channel. So it needs to be longer.
refer: https://groups.google.com/forum/#!topic/golang-nuts/1tjcV80ccq8
2015-06-25 10:43:12 -07:00
4c8408f92f
docs: doc metrics used in rafthttp package
2015-06-25 10:38:36 -07:00
107263ef9f
pkg/fileutil: fix TestPurgeFile
...
It needs to wait longer for file to be detected and removed sometimes.
2015-06-25 10:09:20 -07:00
5d131acfba
etcdserver: fix TestTriggerSnap
...
Before checking, it needs to wait for snapshot goroutine to finish its
work.
2015-06-25 09:58:36 -07:00
2ace10626d
Merge pull request #3050 from yichengq/doc-bench-tool
...
docs/benchmarks: doc benchmark tool
2015-06-25 08:15:02 -07:00
ca2ea1bc7d
Merge pull request #3048 from ecnahc515/documentation_improvements
...
Documentation: Refer back between name and initial-cluster options
2015-06-24 15:22:46 -07:00
0949cc06e6
docs/benchmarks: doc benchmark tool
2015-06-24 15:11:08 -07:00
ea2c203aee
Documentation: Refer back between name and initial-cluster options
2015-06-24 14:10:42 -07:00
44fda7985a
Merge pull request #3046 from xiang90/metrics
...
refactor metrics
2015-06-24 13:58:28 -07:00
9aeb181d75
snap: add namespace and subsystem fields for metrics
2015-06-24 13:46:43 -07:00