Gyu-Ho Lee
139f23fd13
etcd-agent: fix etcd agent tests, remove unused listener
2016-04-07 17:04:24 -07:00
Xiang Li
29623cccb2
membership: save/update/delete member when backend is provided
2016-04-07 16:34:43 -07:00
Anthony Romano
c91c7ca3bf
Merge pull request #4961 from heyitsanthony/rename-lease-create
...
*: rename lease Create to Grant
2016-04-07 14:51:22 -07:00
Xiang Li
f31105bc08
Merge pull request #4994 from xiang90/clu
...
etcdserver: move membership related code to membership pkg
2016-04-07 14:39:18 -07:00
Xiang Li
bf2289ae00
etcdserver: move membership related code to membership pkg
2016-04-07 14:21:37 -07:00
Gyu-Ho Lee
5d4ee7ac5f
Merge pull request #4995 from gyuho/proxy-clean
...
proxy: simplify channel receive, add missing function call
2016-04-07 12:32:24 -07:00
Anthony Romano
dc17eaace7
*: rename Lease Create to Grant
...
Creating a lease through the client API interface union looked like
"c.Create(...)"-- the method name wasn't very descriptive.
2016-04-07 12:28:14 -07:00
Gyu-Ho Lee
6abbdcdc06
proxy: simplify channel receive, add missing function call
2016-04-07 12:24:17 -07:00
Gyu-Ho Lee
ee4ff1e448
Merge pull request #4976 from gyuho/lease_testing
...
e2e: lease tests, fix minor format string
2016-04-07 11:25:51 -07:00
Gyu-Ho Lee
84bf6e7462
e2e: lease tests, fix minor format string
2016-04-07 11:18:49 -07:00
Gyu-Ho Lee
a38617d93a
Merge pull request #4992 from gyuho/e2e_clean
...
e2e: clean up, return all lines in error
2016-04-07 10:59:08 -07:00
Gyu-Ho Lee
2779341250
e2e: clean up, return all lines in error
...
1. change file names
2. now if sub-command errors, the test will receive all
lines from stdout and stderr.
Expected output:
```
read /dev/ptmx: input/output error (expected key2, got ["key1\r\n" "val1\r\n" ""])
```
3. change how we check GRPC timeout (only bypass timeout error when we give 0
timeout)
2016-04-07 10:41:56 -07:00
Anthony Romano
ac232ac9a7
scripts: updatedep.sh to update vendored dependencies
...
Running godep in the vendored cmd directory will try to pull etcd in
as a dependency. As a fix, this script safely vendors into cmd.
2016-04-07 10:28:33 -07:00
Xiang Li
2e5ee26300
Merge pull request #4987 from hongchaodeng/ev
...
expose APIs to recognize event type
2016-04-07 10:18:25 -07:00
Xiang Li
21eda79451
Merge pull request #4991 from endocode/kayrus/faq_doc
...
docs: fixed markdown formatting in faq.md
2016-04-07 09:59:35 -07:00
kayrus
5c782a2086
docs: fixed markdown formatting in faq.md
2016-04-07 18:51:33 +02:00
Hongchao Deng
aa11dafaf8
clientv3: expose event type in user API
...
- add another layer of abstraction in clientv3 for user, not expose internal storagepb ones
- provide commonly used routines IsCreate(), IsModify() on event
2016-04-07 09:47:04 -07:00
Xiang Li
a5f341e886
Merge pull request #4989 from xiang90/clu
...
*: move Cluster interface to api
2016-04-07 08:33:52 -07:00
Xiang Li
030865abe3
*: move Cluster interface to api
2016-04-07 08:05:47 -07:00
Gyu-Ho Lee
b137df77f1
Merge pull request #4985 from gyuho/unused
...
*: clean up unused vars, functions
2016-04-06 21:49:58 -07:00
Gyu-Ho Lee
6e6d64fb9b
*: clean up unused vars, functions
...
With help from https://github.com/dominikh/go-unused .
IsNetTimeoutError seems useful, so moved to pkg/netutil.
2016-04-06 21:33:55 -07:00
Gyu-Ho Lee
79a09e6857
Merge pull request #4984 from gyuho/watch-range
...
clientv3/integration: fix watch range test typo
2016-04-06 21:32:30 -07:00
Gyu-Ho Lee
e72591b4a2
clientv3/integration: fix watch range test typo
2016-04-06 21:12:07 -07:00
Anthony Romano
7408bc2504
Merge pull request #4948 from heyitsanthony/update-grpc
...
vendor: update grpc
2016-04-06 17:55:53 -07:00
Gyu-Ho Lee
82e58e602d
Merge pull request #4983 from gyuho/expect_line
...
pkg/expect: ExpectFunc, LineCount
2016-04-06 16:10:02 -07:00
Gyu-Ho Lee
679e5e379b
pkg/expect: ExpectFunc, LineCount
...
ExpectFunc to make expect more extensible. LineCount to be
able to check 'no output' command.
2016-04-06 15:56:00 -07:00
Xiang Li
62990fb5fa
Merge pull request #4970 from tamird/fix-raft-past-election
...
raft: correct regression in `pastElectionTimeout`
2016-04-06 08:03:38 -07:00
Tamir Duberstein
68db18667a
raft: correct doc comment
2016-04-06 08:43:42 -04:00
Tamir Duberstein
5250784b09
raft: use rand.Intn instead of rand.Int and mod
...
This provides a better random distribution and is easier to read.
2016-04-06 08:43:42 -04:00
Anthony Romano
6b0eb9c3c0
godeps: update grpc dependency
2016-04-06 01:30:06 -07:00
Anthony Romano
34375ef851
Merge pull request #4950 from heyitsanthony/revendor
...
vendor: only vendor on emitted binaries
2016-04-05 21:36:51 -07:00
Anthony Romano
b1d41016b2
vendor: only vendor on emitted binaries
...
Moves the vendor/ directory to cmd/vendor. Vendored binaries are built
from cmd/, which is backed by symlinks pointing back to repo root.
2016-04-05 21:01:16 -07:00
Gyu-Ho Lee
b9e933b850
Merge pull request #4971 from gyuho/e2e_more
...
e2e: clean up to test tables, endpoint-health test
2016-04-05 14:34:35 -07:00
Gyu-Ho Lee
e3599e4145
e2e: clean up to test tables, endpoint-health test
2016-04-05 13:33:37 -07:00
Gyu-Ho Lee
01c303113d
Merge pull request #4964 from gyuho/get_sort_e2e
...
e2e: get with sort order, target
2016-04-04 23:22:04 -07:00
Gyu-Ho Lee
3e39f36b34
e2e: get with sort order, target
2016-04-04 23:10:03 -07:00
Xiang Li
c3bca3739f
Merge pull request #4926 from mitake/auth-role-add
...
*: support adding role in auth v3
2016-04-04 18:44:16 -07:00
Xiang Li
21096bf27f
Merge pull request #4963 from xiang90/ht
...
*: mv etcdhttp into api pkg
2016-04-04 18:40:29 -07:00
Xiang Li
8662aaada4
Merge pull request #4958 from mitake/progrep-race
...
etcdserver, clientv3: let progressReportIntervalMilliseconds be private
2016-04-04 18:04:57 -07:00
Hitoshi Mitake
2b17a3919c
*: support adding role in auth v3
2016-04-05 09:28:17 +09:00
Hitoshi Mitake
88306c9fa7
etcdserver, clientv3: let progressReportIntervalMilliseconds be private
...
progressReportIntervalMilliseconds (old
ProgressReportIntervalMilliseconds) is accessed by multiple goroutines
and it is reported as race.
For avoiding this report, this commit wraps the variable with
functions. They access the variable with atomic operations so the race
won't be reported.
2016-04-05 09:12:17 +09:00
Xiang Li
2c50eb240e
*: mv etcdhttp into api pkg
2016-04-04 16:31:35 -07:00
Gyu-Ho Lee
bfbe0fac8c
Merge pull request #4951 from gyuho/watch_prefix
...
e2e: watch by prefix
2016-04-04 15:11:32 -07:00
Gyu-Ho Lee
9de5b8db80
e2e: watch by prefix
2016-04-04 14:52:54 -07:00
Anthony Romano
b3247356c1
Merge pull request #4956 from heyitsanthony/txn-serialize
...
etcdserver: serializable transactions
2016-04-04 09:51:09 -07:00
Gyu-Ho Lee
98504fe863
Merge pull request #4959 from gyuho/ctl_doc
...
etcdctl: READMEv3 doc about prefix
2016-04-04 08:28:41 -07:00
Gyu-Ho Lee
1543e7bd95
etcdctl: READMEv3 doc about prefix
2016-04-04 07:00:49 -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
Anthony Romano
46e877b8bb
Merge pull request #4955 from mitake/e2e-test
...
e2e: import fmt in etcdctlv3_test.go
2016-04-04 01:37:21 -07:00
Hitoshi Mitake
4ff81678ac
e2e: import fmt in etcdctlv3_test.go
2016-04-04 17:00:33 +09:00