Barak Michener
d5a0e3ac6a
etcdhttp: Always strip password hash when returning users
2015-06-22 18:39:16 -04:00
Xiang Li
462baedcd4
Merge pull request #3031 from xiang90/fix_auth
...
auth: do not allow to grant duplicate role or revoke ungranted role
2015-06-22 15:13:26 -07:00
Xiang Li
3f82e7b116
auth: do not allow to grant duplicate role or revoke ungranted role to a user
2015-06-22 15:11:09 -07:00
Barak Michener
51a65599dd
Merge pull request #3021 from xiang90/auth_err
...
etcdserver: use correct http status code for auth error
2015-06-22 14:58:33 -04:00
Xiang Li
c39aad0e92
etcdserver: use correct http status code for auth error
2015-06-22 09:28:47 -07:00
Xiang Li
3e4479b0cd
Merge pull request #3022 from xiang90/aut_type
...
etcdhttp: fix the response type for auth
2015-06-21 15:06:35 -07:00
Xiang Li
ebd4102578
Merge pull request #3026 from xiang90/better_logging
...
etcdserver: better log message for url mismatch
2015-06-19 19:39:33 -07:00
Xiang Li
d295d21349
etcdserver: better log message for url mismatch
2015-06-19 19:36:26 -07:00
Xiang Li
cad757efa0
etcdhttp: fix the response type for auth
2015-06-19 15:19:00 -07:00
Xiang Li
b26b827780
Merge pull request #3020 from xiang90/auth_doc
...
auth: minor fix for user section
2015-06-19 15:08:51 -07:00
Xiang Li
b1dbab2b6b
auth: minor fix for user section
2015-06-19 14:30:04 -07:00
Xiang Li
9f984ea6ae
Merge pull request #3015 from xiang90/auth_doc
...
doc: move enable section to the top in auth_api.md
2015-06-19 14:13:19 -07:00
Xiang Li
4f0f57b322
doc: move enable section to the top in auth_api.md
2015-06-19 14:08:29 -07:00
Brandon Philips
7ee4fb6181
Merge pull request #3011 from philips/fixup-discovery-info-output
...
discovery: fixup logline
2015-06-19 13:25:08 -04:00
Brandon Philips
e71dc2e565
discovery: fixup logline
...
before:
```
discovery: duringcluster status checkconnection tohttps://discovery.etcd.iotimed out, retrying in2s
```
after:
```
discovery: cluster status check: connection to https://discovery.etcd.io timed out, retrying in 2s
```
2015-06-19 13:19:09 -04:00
Yicheng Qin
5787fabe5f
Merge pull request #3008 from yichengq/storage-index-test
...
storage: add range and tombstone test for index
2015-06-18 19:29:31 -07:00
Yicheng Qin
b20598eea0
storage: add range and tombstone test for index
2015-06-18 18:05:37 -07:00
Xiang Li
1a7a5fd45d
Merge pull request #3006 from yichengq/storage-kvstore-test
...
storage: remove unnecessary ForceCommit in kvstore.Close
2015-06-18 13:57:27 -07:00
Yicheng Qin
9f2e4c8a57
storage: remove unnecessary ForceCommit in kvstore.Close
...
s.b.Close will commit pending ops, so there is no need to FroceCommit
it in kvstore.Close()
2015-06-18 13:36:23 -07:00
Yicheng Qin
789e2f3426
Merge pull request #3003 from yichengq/storage-kvstore-test
...
storage: add restore test and fix some bug
2015-06-18 12:19:05 -07:00
Yicheng Qin
7cba42fb73
storage: wait for compact goroutine to exit before close backend
...
If backend is closed, the operations on backend in compact
goroutine will panic. So this PR waits for compact goroutine to exit
before close backend.
This fixes the TestWorkflow failure too.
2015-06-18 12:18:39 -07:00
Yicheng Qin
148394f66f
storage: fix schedule compaction bug in recover process
...
It uses wrong schedule compaction reversion before.
2015-06-18 11:11:37 -07:00
Yicheng Qin
26a09d8479
storage: enhance TestRestore and kill TODO
2015-06-18 10:37:12 -07:00
Yicheng Qin
0ef53ee500
Merge pull request #2999 from yichengq/storage-rev-test
...
storage: add reversion test
2015-06-18 07:39:18 -07:00
Yicheng Qin
74fbf9d6a7
storage: add reversion test
2015-06-17 18:06:42 -07:00
Yicheng Qin
06ca914429
Merge pull request #2998 from yichengq/storage-kvstore-test
...
storage: add kv range test
2015-06-17 17:49:55 -07:00
Yicheng Qin
80a59f00b7
storage: fix limit mismatch in Range func
2015-06-17 17:43:08 -07:00
Yicheng Qin
93f477944b
storage: return ErrFutureRev if rev is a future one
2015-06-17 17:42:43 -07:00
Yicheng Qin
94924d04db
storage: add TestRangeBadRev
2015-06-17 16:22:28 -07:00
Yicheng Qin
9ad5e1e64f
storage: kill TODO in TestRange
2015-06-17 15:58:28 -07:00
Yicheng Qin
05228729a3
Merge pull request #2996 from yichengq/storage-workflow-test
...
storage: add TestWorkflow
2015-06-17 15:05:12 -07:00
Yicheng Qin
500894dfe5
storage: add TestWorkflow
2015-06-17 14:38:21 -07:00
Yicheng Qin
7b1a93e1ef
storage: put storage info keys into information bucket
...
They used to be in key bucket, and make recover failed because they
cannot be parsed as normal key.
2015-06-17 14:37:29 -07:00
Yicheng Qin
d0f6432b51
*: bump to v2.1.0-alpha.1+git
2015-06-16 22:02:00 -07:00
Yicheng Qin
c4a5088bbc
*: bump to v2.1.0-alpha.1
v2.1.0-alpha.1
2015-06-16 22:00:17 -07:00
Xiang Li
2efbc76689
Merge pull request #2993 from xiang90/md
...
doc: add doc for metrics feature
2015-06-16 14:22:16 -07:00
Xiang Li
c599e81d46
doc: add proposal into glossary.md
2015-06-16 14:19:18 -07:00
Xiang Li
5c1d4544fc
doc: add doc for metrics feature
2015-06-16 14:18:22 -07:00
Barak Michener
cdcae2d6a5
Merge pull request #2991 from barakmich/security_rename
...
*: Rename `security` to `auth`
2015-06-16 14:41:34 -04:00
Barak Michener
64ec8af91b
*: Rename security
to auth
2015-06-15 18:18:50 -04:00
Xiang Li
e20b487904
Merge pull request #2978 from xiang90/fix_backup
...
*:fix point-in-time backup
2015-06-15 13:19:29 -07:00
Xiang Li
f59da0e453
*:fix point-in-time backup
...
Backup process should be able to read all WALs until io.EOF to
generate a point-in-time backup.
Our WAL file is append-only. And the backup process will lock all
files before start reading, which can prevent the gc routine from
removing any files in the middle.
2015-06-15 11:12:28 -07:00
Xiang Li
b69d52e5ac
Merge pull request #2988 from xiang90/raft-doc
...
raft: fix usage section of doc
2015-06-15 10:39:40 -07:00
Xiang Li
2f0169c3ab
raft: fix usage section of doc
...
We recently added a config struct to start raft. Update
our doc accordingly.
2015-06-15 10:26:10 -07:00
Yicheng Qin
5618adff99
Merge pull request #2977 from nikfoundas/patch-1
...
docs: add etcd-viewer into libraries-and-tools.md
2015-06-14 08:53:06 -07:00
Xiang Li
3fc8d48421
Merge pull request #2982 from aybabtme/etcdserver/wrong-log-func
...
etcdserver: use Infof to print formatted argument
2015-06-14 06:53:20 -07:00
Antoine Grondin
270487d340
etcdserver: use Infof to print formatted argument
2015-06-14 20:22:21 +07:00
nikfoundas
dadbc03171
docs: add etcd-viewer into libraries-and-tools.md
...
I've been working on this project for a few weeks and I believe it has some features that could assist maintaining etcd registries. Please check it out and I hope you would like to include it in your list of etcd tools.
Kind regards,
Nikos
2015-06-14 02:25:42 +03:00
Xiang Li
8e7fa9e201
Merge pull request #2976 from yichengq/fix-lock-test
...
pkg/fileutil: wait longer for relock
2015-06-12 15:20:18 -07:00
Yicheng Qin
7723b91c06
pkg/fileutil: wait longer for relock
...
multiple cpu running makes it slower, so it waits longer for relock.
2015-06-12 15:17:28 -07:00