Gyu-Ho Lee
8d0d10cce5
client: return original ctx error
...
Fix https://github.com/coreos/etcd/issues/3209 .
2016-03-29 16:57:48 -07:00
Gyu-Ho Lee
00f222ecad
Merge pull request #4892 from gyuho/help
...
etcdmain: add missing flag doc
2016-03-29 10:30:33 -07:00
Xiang Li
870b5c5ea7
Merge pull request #4219 from endocode/kayrus/username_environment
...
Handle ETCDCTL_USERNAME environment
2016-03-29 10:24:43 -07:00
kayrus
720502b25f
etcdctl: Handle ETCDCTL_USERNAME environment
2016-03-29 19:06:31 +02:00
Gyu-Ho Lee
92f4aced25
etcdmain: add peer-auto-tls doc
2016-03-29 09:40:57 -07:00
Xiang Li
bb8619f4f7
Merge pull request #4895 from xiang90/client_doc
...
client: doc that client is thread-safe
2016-03-29 09:36:01 -07:00
Xiang Li
9d49d35090
client: doc that client is thread-safe
2016-03-29 09:28:53 -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
Xiang Li
75babb82b6
Merge pull request #4888 from xiang90/fix_raft
...
rafthttp: do not block on proposal
2016-03-29 07:37:18 -07:00
Anthony Romano
161bc5e19c
clientv3: fix race when setting grpc Logger
...
grpc only permits SetLogger on init()
2016-03-28 23:30:03 -07:00
Anthony Romano
1637b37132
Merge pull request #4890 from heyitsanthony/fix-4889
...
clientv3/integration: get quorum before watching in TestKVCompact
2016-03-28 22:30:58 -07:00
Anthony Romano
096abb3f37
clientv3/integration: get quorum before watching in TestKVCompact
...
Fixes #4889
2016-03-28 22:18:10 -07:00
Xiang Li
660eef8a95
Merge pull request #4872 from ajityagaty/cli_opts_aliases
...
etcdctl: Add aliases for command flags.
2016-03-28 22:04:00 -07:00
Xiang Li
0c137b344b
rafthttp: do not block on proposal
2016-03-28 21:40:12 -07:00
Ajit Yagaty
2e3856740d
etcdctl: Add aliases for command flags.
...
Add aliases to the flags that are supplied to the sub commands.
2016-03-28 20:57:34 -07:00
Anthony Romano
c53380cd2a
Merge pull request #4886 from heyitsanthony/move-hash
...
v3rpc: move Hash RPC to Maintenance service
2016-03-28 19:35:03 -07:00
Anthony Romano
3fbacf4be2
v3rpc: move Hash RPC to Maintenance service
2016-03-28 17:15:58 -07:00
Xiang Li
495bef8b4c
Merge pull request #4885 from xiang90/log_doc
...
doc/dev: add logging doc
2016-03-28 17:00:41 -07:00
Anthony Romano
4bdfc0a46d
clientv3: fix race on writing watch channel over return channel
...
Found in TestElectionFailover
2016-03-28 16:08:18 -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
813afc3d11
rafthttp: fix race between AddRemote and Send
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
2c83362e63
clientv3: fix race in KV reconnection logic
2016-03-28 16:08:18 -07:00
Anthony Romano
e129223dbe
clientv3: fix race in watcher resume
2016-03-28 16:08:18 -07:00
Anthony Romano
47db0a2f2e
test: add race detection to clientv3 integration tests
2016-03-28 16:08:18 -07:00
Xiang Li
ffc7488af2
doc/dev: add logging doc
2016-03-28 15:34:51 -07:00
Anthony Romano
6e3a0948e4
Merge pull request #4868 from heyitsanthony/api-quota
...
etcdserver: storage quotas
2016-03-28 15:15:57 -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
ae077a2183
backend: add UnsafeForEach to BatchTx
...
Useful for efficiently iterating over an entire bucket.
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
fc346041e5
Merge pull request #4883 from heyitsanthony/fix-4874
...
integration: don't call rand.Intn in TestSTMConflict on 0
2016-03-28 13:36:19 -07:00
Anthony Romano
94e77cfa5d
etcdserver: move v3 raft apply functions to interface
2016-03-28 13:16:21 -07:00
Anthony Romano
384c3ec907
integration: don't call rand.Intn in TestSTMConflict on 0
...
Fixes #4874
2016-03-28 13:06:07 -07:00
Xiang Li
2b83d9c2e5
Merge pull request #4882 from xiang90/ctl_combine
...
*: combine etcdctl and etcdctlv3
2016-03-28 11:42:25 -07:00
Xiang Li
87d9f06a45
*: combine etcdctl and etcdctlv3
2016-03-28 11:28:05 -07:00
Gyu-Ho Lee
83ada7232a
Merge pull request #4871 from gyuho/windows_file_lock_20160326
...
pkg/fileutil: lock file on Windows
2016-03-27 12:38:38 -07:00
Xiang Li
fa98d8d337
Merge pull request #4845 from mitake/auth-user
...
*: support adding user in v3 auth
2016-03-27 07:51:10 -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
Gyu-Ho Lee
3f1a1c3192
pkg/fileutil: lock file on Windows
2016-03-27 00:35:44 -07:00
Gyu-Ho Lee
68b38e7ade
Merge pull request #4875 from gyuho/clientv3_disable_grpclog
...
clientv3: disable client side grpc log
2016-03-26 22:57:37 -07:00
Gyu-Ho Lee
29fccb3221
clientv3: configurable grpc logger
2016-03-26 22:38:53 -07:00
Xiang Li
b8fc61bcec
Merge pull request #4869 from ajityagaty/insecure_skip_tls_verify
...
etcdctlv3: Add insecure-skip-tls-verify flag.
2016-03-26 12:12:55 -07:00
Xiang Li
9c3242c6df
Merge pull request #4862 from mitake/procfiles
...
Procfile, V3DemoProcfile: add default endpoint of v3 to Procfile remo…
2016-03-26 08:21:01 -07:00
Hitoshi Mitake
7418c1af24
V3DemoProcfile: remove the obsolete flag
...
The flag --experimental-v3demo is already removed so V3DemoProcfile
cannot be used. This commit removes it.
2016-03-26 08:15:58 -07:00
Ajit Yagaty
4e39db4158
etcdctlv3: Add insecure-skip-tls-verify flag.
...
The user can specify insecure-skip-tls-verify flag to skip the
server certificate verification step.
2016-03-25 19:28:41 -07:00
Xiang Li
36db6cd982
Merge pull request #4867 from xiang90/ctl_env
...
etcdctlv3: accept evn for global configuration flags
2016-03-25 15:32:06 -07:00
Xiang Li
a120ca16c0
etcdctlv3: accept evn for global configuration flags
2016-03-25 14:23:32 -07:00
Xiang Li
92a73e727b
Merge pull request #4857 from xiang90/warn_tls
...
etcdmain: warn on contradictory TLS settings
2016-03-25 09:38:11 -07:00
Xiang Li
5449edc025
Merge pull request #4817 from mqliang/time-out
...
etcdctlv3: add timeout support
2016-03-25 07:30:48 -07:00