Gyu-Ho Lee
15ef98a4ee
clientv3: implement LeaseLeases API
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-08-14 14:18:56 -07:00
Gyu-Ho Lee
d25ae50c02
etcdserver: implement LeaseLeases API
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-08-14 14:18:56 -07:00
Gyu-Ho Lee
8005f00bcf
*: regenerate proto
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-08-14 14:18:56 -07:00
Gyu-Ho Lee
a7413bbf28
etcdserverpb: define LeaseLeases API
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-08-14 14:18:56 -07:00
Gyu-Ho Lee
099fbde809
lease: add 'Leases' method
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-08-14 14:18:53 -07:00
Gyu-Ho Lee
8df21326f9
Merge pull request #8384 from gyuho/advertise-url
...
embed: warns about empty hosts in advertise urls
2017-08-11 10:15:35 -07:00
Gyu-Ho Lee
135b7f78c9
Merge pull request #8392 from gyuho/bbolt
...
vendor: coreos/bbolt v1.3.1-coreos.0, add others in glide.yaml
2017-08-10 17:44:31 -07:00
Gyu-Ho Lee
2513e8c9ce
integration: increase numPuts to write more than 1 page
...
For ppc64.
Reference: https://github.com/coreos/bbolt/issues/15#issuecomment-321700834 .
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-08-10 16:43:41 -07:00
Gyu-Ho Lee
6489084a51
vendor: coreos/bbolt v1.3.1-coreos.0, add others in glide.yaml
2017-08-10 15:02:58 -07:00
Anthony Romano
6c4d990c1a
Merge pull request #8390 from heyitsanthony/reset-keysgauge-restore
...
mvcc: reset keys gauge on restore
2017-08-10 12:57:50 -07:00
Gyu-Ho Lee
fe344ef302
embed: warns about empty hosts in advertise urls
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-08-10 12:31:58 -07:00
Anthony Romano
ccd1bb1780
mvcc: test keys gauge is reloaded correctly on restore
2017-08-10 09:21:39 -07:00
Anthony Romano
32866572bf
mvcc: reset keys gauge on restore
...
Fixes #8388
2017-08-10 08:37:50 -07:00
Anthony Romano
04413454ac
Merge pull request #8370 from jiaxuanzhou/lock_cmd
...
etcdctl: add ttl flag for lock command
2017-08-09 10:04:32 -07:00
Zhou
9c21eefd09
etcdctl: add ttl flag for lock command
2017-08-09 22:04:43 +08:00
Anthony Romano
754f454974
Merge pull request #8367 from jpbetz/defrag-file
...
etcdctlv3: Add option to defrag a data directory directly
2017-08-08 12:27:52 -07:00
Anthony Romano
921e0dbd72
Merge pull request #8374 from heyitsanthony/fix-leasing-reconn
...
leasing: retry on errors from acquire txn
2017-08-08 12:07:22 -07:00
Joe Betz
39432ac31f
etcdctlv3: Add option to defrag a data directory directly, for cases where etcd is not running.
2017-08-08 10:19:32 -07:00
Anthony Romano
2c958939bb
Merge pull request #8378 from heyitsanthony/doc-tls-termination
...
op-guide: TLS termination with grpc-proxy
2017-08-08 10:19:00 -07:00
Anthony Romano
7ef41aa285
op-guide: TLS termination with grpc-proxy
...
Also made the etcdctl calls consistent across the file.
2017-08-08 09:33:51 -07:00
Anthony Romano
cf0eb3b7ce
integration: increase timeout for TestLeasingReconnectOwnerRevoke
...
Adding retry to acquire on failure causes Get to now retry until a
connection can be reestablished to the etcd server, causing the
timeout to trigger and fail the test.
2017-08-07 15:51:27 -07:00
Anthony Romano
61ebb98e55
leasing: retry on errors from acquire txn
...
Gets should retry on transient failure, but the txn inserts a write, skipping
the retry logic in the client. Instead, check the error if the txn should be
retried.
Fixes #8372
2017-08-07 11:39:12 -07:00
Gyu-Ho Lee
a9b9ef5640
Merge pull request #8351 from gyuho/hash
...
*: add 'endpoint hashkv' command
2017-08-07 09:21:50 -07:00
Gyu-Ho Lee
c9cd3afa58
Merge pull request #8369 from gyuho/container
...
Documentation/op-guide: add gcr.io image as alternative
2017-08-07 09:13:22 -07:00
Gyu-Ho Lee
e4e61479f2
op-guide/v2-migration: endpoint hashkv post migration
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-08-06 13:50:22 -07:00
Gyu-Ho Lee
43ccc549fb
e2e: test 'endpoint hashkv' command
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-08-05 18:17:06 -07:00
Gyu-Ho Lee
5176b63fa0
ctlv3: add 'endpoint hashkv' command
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-08-05 18:17:06 -07:00
Gyu-Ho Lee
9982cd0528
clientv3/integration: add 'TestMaintenanceHashKV'
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-08-05 18:17:06 -07:00
Gyu-Ho Lee
8c32cd96fb
clientv3: add 'HashKV' to 'Maintenance' interface
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-08-05 18:17:06 -07:00
Xiang Li
b39891eb45
Merge pull request #8341 from visheshnp/leasing-pr
...
clientv3: Disconnected Linearized Reads
2017-08-05 17:03:48 -07:00
Gyu-Ho Lee
6ca928c669
dev-internal/release: add gcr.io image commands
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-08-04 19:56:17 -07:00
Gyu-Ho Lee
7d4b470397
Documentation/op-guide: add gcr.io image as alternative
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-08-04 19:49:23 -07:00
Gyu-Ho Lee
4aa528c58e
Merge pull request #8368 from gyuho/news
...
NEWS: add v3.2.5
2017-08-04 18:25:45 -07:00
Gyu-Ho Lee
da7f5725e0
NEWS: add v3.2.5
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-08-04 13:24:25 -07:00
Anthony Romano
d3716b86ae
clientv3: s/ToOpResponse/OpResponse
...
Closer to idiomatic go.
2017-08-04 11:35:36 -07:00
visheshnp
8fe94356f4
clientv3: more Op accessors
2017-08-04 11:35:36 -07:00
Anthony Romano
b402ea8590
test: increase clientv3/integration time to accomodate leasing tests
2017-08-04 11:35:36 -07:00
visheshnp
9be715bb66
etcdmain: support key leasing in grpcproxy
2017-08-04 11:35:36 -07:00
Anthony Romano
468078ffcd
integration: leasing tests
2017-08-04 11:35:36 -07:00
visheshnp
a425e98a7e
leasing: KV leasing
2017-08-04 11:35:36 -07:00
Anthony Romano
366f5381e0
Merge pull request #8366 from heyitsanthony/prevkey-proxy
...
grpcproxy: forward PrevKv flag in Put
2017-08-04 07:31:27 -07:00
Anthony Romano
6a4194c556
grpcproxy: forward PrevKv flag in Put
2017-08-03 21:38:20 -07:00
Anthony Romano
c3ae033f25
integration: test Put with PrevKey=true
...
Was missing in proxy.
2017-08-03 21:37:06 -07:00
Anthony Romano
faa4a62410
Merge pull request #8355 from heyitsanthony/expect-fd
...
e2e: remove SIGQUIT debugging for elect and lock
2017-08-03 17:18:17 -07:00
Gyu-Ho Lee
71a706509e
Merge pull request #8364 from gyuho/fixtures
...
integration/fixtures: fix base64 flag, add wildcard.json
2017-08-03 15:55:16 -07:00
Anthony Romano
107c18f19f
Merge pull request #8356 from heyitsanthony/election-example
...
concurrency: add examples
2017-08-03 15:43:08 -07:00
Anthony Romano
5072530a80
e2e: remove SIGQUIT debugging for elect and lock
...
Causes etcdctl to hang with pending SIGQUIT signals according to
/proc/pid/status. The debugging wasn't very useful on travis
either; just totally remove it to get CI working again.
2017-08-03 15:38:06 -07:00
Gyu-Ho Lee
a3ef719598
integration/fixtures: fix base64 flag, add wildcard.json
...
MacOS base64 uses -D and linux uses -d, while --decode
works on both platforms. And add missing server-ca-csr-wildcard.json.
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-08-03 15:31:29 -07:00
Anthony Romano
b7b31e5770
concurrency: add examples
2017-08-02 21:09:05 -07:00
Xiang Li
033c0cbdd8
Merge pull request #8346 from javaforfun/shawnsli/reset-votes-when-become-pre-candidate
...
raft: reset votes when becomePreCandidate
2017-08-02 19:52:17 -07:00