Anthony Romano
6f6279075a
Merge pull request #8546 from heyitsanthony/receiver-ci
...
test: check for inconsistent receiver names
2017-09-12 13:59:52 -07:00
Anthony Romano
846255b95e
Merge pull request #8513 from shenlanse/bug-fix
...
rafthttp: add remote in pipeline and snapshot handler
2017-09-12 13:48:56 -07:00
Xiang Li
10b731baa8
Merge pull request #8516 from purpleidea/feat/leaseid-okay
...
clientv3: Allow naked LeaseID or int64 for LeaseValue Compare's
2017-09-12 09:05:33 -07:00
Anthony Romano
4fa1dd196c
*: make receiver names consistent
2017-09-12 03:54:04 -07:00
Gyu-Ho Lee
9553afbb24
Merge pull request #8533 from gyuho/grpc
...
*: upgrade grpclog to LoggerV2
2017-09-12 03:53:04 -07:00
Gyu-Ho Lee
bb4e0473ae
Merge pull request #8531 from gyuho/error
...
*: deprecate grpc.Code, grpc.ErrorDesc
2017-09-12 03:52:30 -07:00
Anthony Romano
98e4a05068
test: check for inconsistent receiver names
2017-09-12 03:41:10 -07:00
blueblue
5f36875272
rafthttp: add remote in pipeline and snapshot handler when corresponding peer or remote do not exist
...
Fixes : #8506
2017-09-12 18:38:18 +08:00
Gyu-Ho Lee
69f32bac34
Merge pull request #8542 from gyuho/go-systemd
...
vendor: upgrade go-systemd to v15, remove cockroachdb/cmux
2017-09-11 15:26:50 -07:00
Gyu-Ho Lee
7761a4672e
vendor: upgrade go-systemd to v15, remove cockroachdb/cmux
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-09-11 14:53:37 -07:00
Gyu-Ho Lee
6f76d52a1a
*: deprecate grpc.Code, grpc.ErrorDesc
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-09-11 09:28:56 -07:00
Gyu-Ho Lee
18ba4d60ec
v3rpc/rpctypes: use grpc.status for errors
...
grpc.Code, grpc.ErrorDesc, grpc.Errorf have been deprecated.
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-09-11 09:20:03 -07:00
Gyu-Ho Lee
bc50a4591a
Merge pull request #8536 from gyuho/typo
...
*: fix minor typos
2017-09-11 07:33:54 -07:00
Gyu-Ho Lee
0b2d8a6c96
*: fix minor typos
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-09-11 07:33:35 -07:00
Gyu-Ho Lee
3b3d392540
*: use grpclog.LoggerV2
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-09-08 15:26:16 -07:00
Gyu-Ho Lee
f37ff4a4e2
v3rpc: use grpclog.LoggerV2 for grpc logs
...
grpclog.Logger has been deprecated.
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-09-08 15:25:36 -07:00
Gyu-Ho Lee
d6c33367c4
clientv3: upgrade grpclog to LoggerV2
...
grpclog.Logger has been deprecated.
2017-09-08 15:25:32 -07:00
Anthony Romano
80aa810309
Merge pull request #8519 from heyitsanthony/client-oneshot-failover
...
client: fail over to next endpoint on oneshot failure
2017-09-08 12:54:35 -07:00
Anthony Romano
f4355a00ae
Merge pull request #8518 from dvrkps/patch-1
...
travis: add 1.9.x instead of 1.9 to go version
2017-09-08 11:43:04 -07:00
Anthony Romano
76a35e71be
client: fail over to next endpoint on oneshot failure
...
Fixes #8515
2017-09-08 11:20:20 -07:00
Gyu-Ho Lee
ba89bbb47d
Merge pull request #8528 from gyuho/ctx
...
tools/benchmark: replace 'golang.org/x/net/context' with 'context'
2017-09-08 10:53:31 -07:00
Gyu-Ho Lee
640c0e6ff4
tools/benchmark: replace 'golang.org/x/net/context' with 'context'
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-09-08 09:50:00 -07:00
Anthony Romano
9a1e294ec6
Merge pull request #8523 from heyitsanthony/remove-gosimple-mask
...
test: remove S1024 mask from gosimple pass
2017-09-08 09:45:48 -07:00
Anthony Romano
ae63ac1cf7
test: remove S1024 mask from gosimple pass
...
Also get stray remaining egreps
2017-09-08 09:21:42 -07:00
Davor Kapsa
f445b463a2
travis: add 1.9.x instead 1.x go version
2017-09-08 07:41:24 +02:00
Gyu-Ho Lee
6930e471ed
Merge pull request #8521 from gyuho/grep
...
test: use 'grep -E' for non-standard 'egrep'
2017-09-07 20:04:28 -07:00
Gyu-Ho Lee
70c20a9e73
Merge pull request #8522 from gyuho/lessor
...
lease: use time.Until in 'Remaining'
2017-09-07 18:44:16 -07:00
Gyu-Ho Lee
0e0d9e492f
lease: use time.Until in 'Remaining'
...
Fix 'gosimple' warnings.
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-09-07 18:41:36 -07:00
Gyu-Ho Lee
e49d93ccb7
test: use 'grep -E' for non-standard 'egrep'
...
Fix shellcheck complaints.
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-09-07 18:37:33 -07:00
Gyu-Ho Lee
6e39a39e3a
Merge pull request #8511 from gyuho/ctx
...
*: deprecate 'golang.org/x/net/context'
2017-09-07 18:07:57 -07:00
Anthony Romano
eb55917ef6
Merge pull request #8507 from lorneli/lease_monotime
...
lease: use monotime in time.Time for Go 1.9
2017-09-07 15:43:24 -07:00
Davor Kapsa
89ee9d6671
travis: add 1.x instead 1.9 to go version
2017-09-07 23:53:31 +02:00
Gyu-Ho Lee
24498ea167
test: mask 'nil Context' for staticcheck
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-09-07 13:39:42 -07:00
Gyu-Ho Lee
9a726b424d
*: fix leaky context creation with cancel
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-09-07 13:39:42 -07:00
Gyu-Ho Lee
9d12ba26e0
README: require Go 1.9+
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-09-07 13:39:42 -07:00
Gyu-Ho Lee
887a0585e6
vendor: upgrade 'golang.org/x/net' with type alias
...
Use Go 1.9 type alias.
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-09-07 13:39:42 -07:00
Gyu-Ho Lee
f65aee0759
*: replace 'golang.org/x/net/context' with 'context'
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-09-07 13:39:42 -07:00
Gyu-Ho Lee
ff31fb4b8b
Merge pull request #8512 from gyuho/docker
...
Dockerfile-test: add test image with Go 1.9
2017-09-07 13:33:42 -07:00
Gyu-Ho Lee
a44e11414f
Dockerfile-test: add test image with Go 1.9
...
Not to be blocked on Go 1.9 migration by CIs
(e.g. Semaphore CI not supporting Go 1.9).
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-09-07 13:12:27 -07:00
James Shubin
252cab0c13
clientv3: Allow naked LeaseID or int64 for LeaseValue Compare's
...
The logical input to Compare would be a LeaseID (type int64) but the
check panics if we give a LeaseID directly. Allow both so that we don't
unnecessarily annoy and confuse the programmer using the API in the most
logical way.
2017-09-07 13:49:35 -04:00
Anthony Romano
9c3474e4e0
Merge pull request #8500 from heyitsanthony/clientv3-spelling
...
clientv3: goword spelling check
2017-09-07 10:06:24 -07:00
lorneli
63aa64d240
lease: use monotime in time.Time for Go 1.9
...
The golang/time package tracks monotonic time in each time.Time
returned by time.Now function for Go 1.9.
Use time.Time to measure whether a lease is expired and remove
previous pkg/monotime. Use zero time.Time to mean forever. No
expiration when expiry.IsZero() is true.
2017-09-07 14:18:19 +08:00
blueblue
2bb893b478
rafthttp: add remote in pipeline and snapshot handler when corresponding peer or remote do not exist
...
Fixes : #8506
2017-09-07 13:49:39 +08:00
Anthony Romano
2d0eec0b35
clientv3: goword spelling check
2017-09-06 22:11:33 -07:00
Anthony Romano
4587d56731
travis: enable goword spell checking
2017-09-06 20:47:08 -07:00
Anthony Romano
ec36d0040b
Merge pull request #8508 from heyitsanthony/shellcheck-more
...
*: fix shellcheck warnings
2017-09-06 20:31:15 -07:00
Anthony Romano
9abe9da9db
*: fix shellcheck warnings
...
Fixes scripts and removes shellcheck warning suppressions.
* regexp warnings
* use ./*glob* so names don't become options
* use $(..) instead of legacy `..`
* read with -r to avoid mangling backslashes
* double quote to prevent globbing and word splitting
2017-09-06 19:18:04 -07:00
blueblue
a0361ea3f9
rafthttp: add remote in pipeline and snapshot handler when corresponding peer or remote do not exist
...
Fixes : #8506
2017-09-07 10:14:54 +08:00
Anthony Romano
3c1845604b
Merge pull request #8484 from lorneli/dev
...
wal: tiny refactor
2017-09-06 13:50:38 -07:00
Xiang Li
05d7dc307b
Merge pull request #8490 from lorneli/lease_dev
...
lease: fix typo and modify findExpiredLeases function
2017-09-06 12:47:25 -07:00