Xiang Li
f8b947a00b
storage: fix small issues
2015-06-29 22:02:21 -07:00
Xiang Li
718cb18ca2
Merge pull request #3079 from xiang90/gogo
...
*: resolve proto warnings
2015-06-29 18:50:49 -07:00
Xiang Li
581ef05bab
*: resolve proto warnings
2015-06-29 18:39:46 -07:00
Xiang Li
621b43bacb
Merge pull request #3078 from xiang90/gogo
...
update gogoprotobuf dependency
2015-06-29 16:59:08 -07:00
Xiang Li
13f44e4b79
*: update generated proto code
2015-06-29 16:45:25 -07:00
Xiang Li
59b479e59b
godep: update gogo version
2015-06-29 16:08:04 -07:00
Yicheng Qin
235aef5365
*: bump to v2.1.0-rc.0+git
2015-06-29 14:02:40 -07:00
Yicheng Qin
00c32ef022
*: bump to v2.1.0-rc.0
v2.1.0-rc.0
2015-06-29 14:02:39 -07:00
Yicheng Qin
9884c9d977
Merge pull request #3075 from yichengq/fix-windows
...
Godeps/capnslog: bump to 99f6e6b8f8ea30b0f82769c1411691c44a66d015
2015-06-29 14:02:16 -07:00
Yicheng Qin
207b67c72a
Godeps/capnslog: bump to 99f6e6b8f8ea30b0f82769c1411691c44a66d015
...
It fixes windows building problem.
2015-06-29 13:47:21 -07:00
Xiang Li
8d3e3ff25a
Merge pull request #3073 from xiang90/storage_ver
...
storage: save version
2015-06-29 13:19:02 -07:00
Xiang Li
ccca2b04da
storage: save version
2015-06-29 13:15:09 -07:00
Yicheng Qin
bd84e678e6
Merge pull request #3061 from yichengq/fix-stream-test
...
rafthttp: fix TestStream uses outdated stream
2015-06-29 11:15:29 -07:00
Yicheng Qin
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
Xiang Li
e01d53b853
Merge pull request #2979 from xiang90/fix_sendapp
...
raft: fix panic in send app
2015-06-29 10:49:04 -07:00
Yicheng Qin
28342ae097
rafthttp: avoid TestStream to use outdated stream
...
The original test code before fb4b0b5cf075212f79fcdfa58533915a29c0912d
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
Yicheng Qin
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
Yicheng Qin
606876154d
rafthttp: message_sent_latency metrics: channel -> sendingType
...
Better naming.
2015-06-29 10:44:40 -07:00
Yicheng Qin
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
Yicheng Qin
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
Yicheng Qin
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
Yicheng Qin
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
Xiang Li
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
Yicheng Qin
fcdd9779e9
docs: explain label in rafthttp metrics
2015-06-26 15:51:39 -07:00
Xiang Li
4581064060
storage: save created index and modified index
2015-06-26 12:10:26 -07:00
Yicheng Qin
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
Yicheng Qin
9c695dce25
docs: fix typos in auth_api.md
2015-06-25 17:37:16 -07:00
Barak Michener
acca9cc3a9
Merge pull request #3047 from barakmich/auth_cov
...
auth: improve test coverage
2015-06-25 14:47:22 -04:00
Barak Michener
39c10d1fe4
auth: improve test coverage
2015-06-25 14:25:08 -04:00
Yicheng Qin
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
Xiang Li
35d0839909
Merge pull request #3057 from yichengq/fix-snap-test
...
etcdserver: fix TestTriggerSnap
2015-06-25 10:51:36 -07:00
Xiang Li
a347e1ecf5
Merge pull request #3058 from yichengq/fix-purge
...
pkg/fileutil: fix TestPurgeFile
2015-06-25 10:50:36 -07:00
Yicheng Qin
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
Yicheng Qin
4c8408f92f
docs: doc metrics used in rafthttp package
2015-06-25 10:38:36 -07:00
Yicheng Qin
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
Yicheng Qin
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
Xiang Li
2ace10626d
Merge pull request #3050 from yichengq/doc-bench-tool
...
docs/benchmarks: doc benchmark tool
2015-06-25 08:15:02 -07:00
Chance Zibolski
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
Yicheng Qin
0949cc06e6
docs/benchmarks: doc benchmark tool
2015-06-24 15:11:08 -07:00
Chance Zibolski
ea2c203aee
Documentation: Refer back between name and initial-cluster options
2015-06-24 14:10:42 -07:00
Xiang Li
44fda7985a
Merge pull request #3046 from xiang90/metrics
...
refactor metrics
2015-06-24 13:58:28 -07:00
Xiang Li
9aeb181d75
snap: add namespace and subsystem fields for metrics
2015-06-24 13:46:43 -07:00
Xiang Li
c221844d6b
Merge pull request #3024 from xiang90/fix_discovery
...
discovery: add timeouts for discovery client
2015-06-24 13:44:21 -07:00
Xiang Li
52c2a5731f
etcdserver: fix typo in metrics.go
2015-06-24 12:42:40 -07:00
Xiang Li
b3cb5f9e4e
Merge pull request #3043 from xiang90/update_auth_doc
...
auth: update the auth doc
2015-06-23 23:19:02 -07:00
Xiang Li
96c0c7a202
Merge pull request #3044 from xiang90/fix_auth_update_role
...
auth: do not allow update root role
2015-06-23 22:43:28 -07:00
Xiang Li
030d1bbf2d
auth: do not allow update root role
2015-06-23 20:15:08 -07:00
Xiang Li
403fad14ae
auth: update the auth doc
2015-06-23 20:02:48 -07:00
Xiang Li
c0b5cc6c52
Merge pull request #3041 from xiang90/auth_u
...
etcdhttp: improve user endpoint validation
2015-06-23 15:58:03 -07:00
Xiang Li
94f8152487
Merge pull request #3042 from yichengq/fix-addr-in-use
...
integration: fix bind-addr-in-use
2015-06-23 15:57:50 -07:00