Xiang Li
2c50eb240e
*: mv etcdhttp into api pkg
2016-04-04 16:31:35 -07:00
Anthony Romano
fab3c8e705
etcdserver: serializable transactions
...
Support case where txn doesn't have to go through quorum.
2016-04-04 04:21:42 -07:00
Xiang Li
19136afc2b
Merge pull request #4798 from mqliang/memberStatus
...
etcdctlv3: initial implementaton of 'etcdctl member status' command
2016-04-03 08:48:23 -07:00
mqliang
1d5d2494ed
etcdctlv3: implement status rpc in server side
2016-04-03 13:46:01 +08:00
mqliang
bbca61252f
etcdctlv3: update aunto generated files
2016-04-03 13:45:17 +08:00
mqliang
3c62bfb7a3
etcdctlv3: add status rpc in protbuffer file
2016-04-03 13:44:45 +08:00
Gyu-Ho Lee
b0cc0e443c
*: clean up if, bool comparison
2016-04-02 12:55:11 -07:00
Anthony Romano
ff01a4de65
Merge pull request #4936 from heyitsanthony/compact-barrier-restore
...
etcdserver, storage: don't ack physical compaction on error or snap restore
2016-04-01 20:18:12 -07:00
Anthony Romano
6f707b857a
etcdserver, storage: don't ack physical compaction on error or snap restore
...
Snapshot recovery will reset the FIFO; reschedule the physical acknowledgment
instead of acknowledging on scheduler teardown.
2016-04-01 16:32:05 -07:00
Gyu-Ho Lee
eea56d037e
etcdserver: fix govet error
2016-04-01 16:01:47 -07:00
Anthony Romano
81de5648d9
etcdserver: force backend commit before acking physical compaction
2016-03-31 21:25:40 -07:00
Hitoshi Mitake
73166b41e9
*: support changing password in v3 auth
...
This commit adds a functionality for updating password of existing
users.
2016-03-31 15:28:15 +09:00
Hitoshi Mitake
d8888ded12
*: support deleting user in v3 auth
...
This commit adds a functionality of user deletion. It can be invoked
with the new user delete command.
Example usage:
$ ETCDCTL_API=3 etcdctl user delete usr1
2016-03-31 13:18:51 +09:00
Gyu-Ho Lee
6cf198d1b1
Merge pull request #4911 from heyitsanthony/physical-already
...
etcdserver, storage: wait for physical compaction if already compacted
2016-03-30 14:27:21 -07:00
Anthony Romano
7b37bd332c
etcdserver, storage: wait for physical compaction if already compacted
2016-03-30 13:59:52 -07:00
Anthony Romano
7ce5c2b9ff
Merge pull request #4902 from heyitsanthony/alarm-ctl
...
etcdctl: alarm command
2016-03-30 13:55:29 -07:00
Xiang Li
14f146b9f7
Merge pull request #4908 from xiang90/c
...
*: simplify consistent index handling
2016-03-30 13:53:21 -07:00
Xiang Li
eddc741b5e
*: simplify consistent index handling
2016-03-30 13:38:28 -07:00
Anthony Romano
cd02cef5e9
etcdserver: only warn on new and disarmed alarms
...
listing alarms was generating warning output
2016-03-30 13:33:52 -07:00
Anthony Romano
a5172974da
Merge pull request #4863 from heyitsanthony/ft-check-compact
...
etcd-tester: check compaction revision
2016-03-30 10:08:05 -07:00
Gyu-Ho Lee
1eb375d296
Merge pull request #4880 from gyuho/drain
...
*: drain http.Response.Body before closing
2016-03-30 10:02:52 -07:00
Anthony Romano
4b35cb9462
etcdserver, storage: optionally wait for Compaction completion in RPC
2016-03-30 09:45:30 -07:00
Gyu-Ho Lee
a42d1dc1fe
*: drain http.Response.Body before closing
2016-03-30 09:35:47 -07:00
Hitoshi Mitake
8ee8d755bb
etcdserver: return internal error in a case of not auth specific errors
2016-03-30 23:44:22 +09:00
Hitoshi Mitake
443c677357
etcdserver: extract togRPCError() to a separated file
...
It is used from multiple files in v3rpc package.
2016-03-30 22:53:20 +09:00
Anthony Romano
96ee00a322
etcdserverpb: make alarm memberId uint64
...
To be consistent with Cluster API
2016-03-29 20:15:39 -07:00
Anthony Romano
2deed74494
Merge pull request #4901 from heyitsanthony/config-dbsize
...
etcdserver: configurable backend size quota
2016-03-29 18:55:12 -07:00
Anthony Romano
9b2c963179
etcdserver: configurable backend size quota
...
Configurable with the flag --experimental-quota-backend-bytes and
through ServerConfig.QuotaBackendBytes.
Fixes #4894
2016-03-29 18:39:25 -07:00
Xiang Li
b0956d5dbf
Merge pull request #4891 from mitake/auth-prefix
...
*: add Auth prefix to auth related requests and responses
2016-03-29 17:24:12 -07:00
Anthony Romano
d533c14881
Merge pull request #4876 from heyitsanthony/integration-races
...
*: fix races from clientv3/integration tests
2016-03-29 09:10:53 -07:00
Hitoshi Mitake
987568c65c
*: add Auth prefix to auth related requests and responses
2016-03-29 14:32:19 +09:00
Anthony Romano
3fbacf4be2
v3rpc: move Hash RPC to Maintenance service
2016-03-28 17:15:58 -07:00
Anthony Romano
5ee85bea7c
v3rpc: fix race on watch progress map
...
Found in TestElectionWait
2016-03-28 16:08:18 -07:00
Anthony Romano
91dc6b29a6
clientv3/integration: fix race when setting progress report interval
2016-03-28 16:08:18 -07:00
Anthony Romano
a403a94d7b
etcdserver: cap new keys on space alarm
2016-03-28 14:56:26 -07:00
Anthony Romano
9e7f47c490
etcdserver: Alarm RPC
...
Alarms are events that nodes can use to relay health information to
the rest of the cluster. A node may Activate an alarm and that alarm
will stay set until Deactivated.
2016-03-28 14:56:26 -07:00
Anthony Romano
9c8253c543
etcdserver, v3rpc: space quotas
2016-03-28 14:56:26 -07:00
Anthony Romano
94e77cfa5d
etcdserver: move v3 raft apply functions to interface
2016-03-28 13:16:21 -07:00
Hitoshi Mitake
8874545a1e
*: support adding user in v3 auth
...
This commit adds a new subcommand "user add" to etcdctlv3. With the
command users can create a user for the authentication.
Example of usage:
$ etcdctlv3 user add user1
Password of user1:
Type password of user1 again for confirmation:
2016-03-27 18:11:42 +09:00
Xiang Li
70a9391378
*: enable v3 by default
2016-03-23 17:01:36 -07:00
Xiang Li
900a61b023
*: http and https on the same port
2016-03-23 10:28:38 -07:00
Anthony Romano
bd832e5b0a
*: migrate Godeps to vendor/
2016-03-22 17:10:28 -07:00
Xiang Li
afb1bc242b
Merge pull request #4822 from mitake/auth-backend
...
auth, etcdserver: add a method for updating backend during apply snap…
2016-03-21 23:34:46 -07:00
Hitoshi Mitake
4e39f690f2
auth, etcdserver: add a method for recoverying from backend during apply snapshot
...
This commit adds a new method Recovery() to auth.AuthStore for
recoverying auth state from backend during apply snapshot. It follows
a manner of the lessor.
2016-03-22 15:17:40 +09:00
Gyu-Ho Lee
67c2384bdf
*: replace '-' with '--' in doc
...
Fix https://github.com/coreos/etcd/issues/4595 .
2016-03-21 11:12:43 -07:00
Gyu-Ho Lee
dae7e009b0
*: godoc clean up
2016-03-19 14:19:23 -07:00
Anthony Romano
44753594ec
v3rpc: move errors to v3rpc/rpctypes
...
Fixes #4771
2016-03-17 11:52:34 -07:00
Xiang Li
2a28ac7ad4
etcdserver: leader should stepdown when lose quorum for v3
2016-03-15 23:23:26 -07:00
Xiang Li
a7f6dc6c0d
Merge pull request #4778 from xiang90/lease_promote
...
*: refresh the lease TTL correctly when a leader is elected.
2016-03-15 22:52:33 -07:00
Xiang Li
e9a0a103e5
*: refresh the lease TTL correctly when a leader is elected.
...
The new leader needs to refresh with an extened TTL to gracefully handle
the potential concurrent leader issue. Clients might still send keep alive
to old leader until the old leader itself gives up leadership at most after
an election timeout.
2016-03-15 22:40:03 -07:00