Xiang Li
ec1cbce10e
Merge pull request #10541 from johncming/embed-comment
...
embed: Modify the comments to be more precise.
2019-03-19 14:18:44 -07:00
Xiang Li
6df40e1c70
Merge pull request #10550 from johncming/unused
...
clientv3: clean up unused code.
2019-03-19 14:17:41 -07:00
Xiang Li
b1e8218072
Merge pull request #10553 from damnever/damnever-patch-1
...
doc: fix `member add` usage
2019-03-18 20:47:55 -07:00
X.C.Dong
1d764511f6
doc: fix `member add` usage
2019-03-18 14:47:41 +08:00
johncming
662fd55084
clientv3: clean up unused code.
2019-03-18 10:34:41 +08:00
caoming
874532c2da
embed: Modify the comments to be more precise.
2019-03-14 10:59:52 +08:00
Xiang Li
e1ca3b4434
Merge pull request #10531 from JoeWrightss/patch-3
...
Fix some variable spelling errors
2019-03-12 12:09:09 -07:00
Xiang Li
4478993fbc
Merge pull request #10516 from shreyas-s-rao/wal-verify-func
...
wal: add Verify function to perform corruption check on wal contents
2019-03-12 12:06:36 -07:00
Shreyas Rao
bb3eb8fea9
wal: Add test for Verify
...
Signed-off-by: Shreyas Rao <shreyas.sriganesh.rao@sap.com>
2019-03-12 22:25:25 +05:30
shreyas-s-rao
3d6862fe0d
wal: add Verify function to perform corruption check on wal contents
...
Signed-off-by: Shreyas Rao <shreyas.sriganesh.rao@sap.com>
2019-03-12 22:25:25 +05:30
Xiang Li
dc50416157
Merge pull request #10534 from johncming/close_reader
...
close http request body after read it.
2019-03-12 08:25:32 -07:00
johncming
e46af034df
bugfix: adjust or add close request body.
...
affected modules:
- lease/leasehttp
- contrib/raftexample
2019-03-12 22:41:55 +08:00
Xiang Li
b7ad8c6741
Merge pull request #10535 from johncming/fix_close_pos
...
etcdserver/api/rafthttp: fix the location of close http body.
2019-03-11 09:17:13 -07:00
johncming
bd41f74168
etcdserver/api/rafthttp: fix the location of close http body.
2019-03-11 22:20:38 +08:00
zhoulin xie
939b4f8599
clientv3/balancer/grpc1.7-health.go: Fix variable spelling error
...
Signed-off-by: zhoulin xie <zhoulin.xie@daocloud.io>
2019-03-10 01:11:02 +08:00
Xiang Li
6da17cda18
Merge pull request #10515 from Prototik/fix-sd-notify
...
etcdmain: fix sd_notify for restricted environments
2019-03-08 15:34:47 -08:00
Xiang Li
4dc9d8b058
Merge pull request #10503 from spzala/v3argorder10431
...
clientV3: fix behavior of WithPrefix and WithFromKey functions
2019-03-08 11:59:17 -08:00
Xiang Li
e80d1745be
Merge pull request #10420 from spzala/watch10340
...
clientV3watch: do not return ctx canceled when Close watch
2019-03-08 11:57:44 -08:00
Gyuho Lee
81b71da66d
Merge pull request #10527 from etcd-io/gyuho-patch-1
...
docs: update PyYAML to 4.2b1
2019-03-07 11:17:20 -08:00
Gyuho Lee
5ed26c7c48
docs: update PyYAML to 4.2b1
...
https://github.com/etcd-io/etcd/network/alert/docs/requirements.txt/pyyaml/open
2019-03-07 11:14:10 -08:00
Xiang Li
949bcbddbe
Merge pull request #10526 from jingyih/improve_mvcc_index_concurrency
...
mvcc: release lock early when traversing index
2019-03-06 15:48:48 -08:00
Jingyi Hu
93732df3ef
mvcc: release lock early when traversing index
...
Make a copy-on-write clone of index tree when traversing. So that lock
can be released right after the clone to improve backend concurrency.
2019-03-06 14:26:17 -08:00
Xiang Li
4b69cfc56b
Merge pull request #10492 from nolouch/fix-lessor
...
lease: fix deadlock with Renew lease when the checkpointor is set
2019-03-06 10:23:57 -08:00
Xiang Li
b08e6db0e8
Merge pull request #10506 from jingyih/improve_etcd_backend_readability
...
mvcc/backend: rename Lock() to RLock() in ReadTx interface
2019-03-05 14:54:04 -08:00
Jingyi Hu
1c19f126cb
mvcc/backend: rename ReadTx Lock() to RLock()
...
For better code readability, renaming Lock() to RLock() in ReadTx
interface.
2019-03-05 13:53:27 -08:00
Sergey Shatunov
fbf732d3dc
etcdmain: fix sd_notify for restricted environments
...
Remove call to dumb IsRunningSystemd() as it doesn't check anything
2019-03-02 23:44:39 +07:00
Xiang Li
2c69559819
Merge pull request #10513 from jutley/txn-newline-documentation
...
etcdctl: Update README to clarify newline syntax in TXN
2019-03-02 15:23:31 +08:00
Jake Utley
a532b60c7e
etcdctl: Update README to clarify newline syntax in TXN
...
Add documentation to clarify that when writing TXN commands, multi-line values should be written using "\n" and not a literal newline (as in other commands).
Fixes #10169
2019-03-01 14:04:48 -08:00
Sahdev P. Zala
b25edb62cc
clientV3watch: Watch Close should close successfully
...
Closing of watch by client will cancel the watch grpc stream and
can produce a context canceled error. However, since client
simply wanted to close the watcher the error can create confusion
that something went wrong instead of a successful close. Ensure
that Close do not return error.
Fixed #10340
2019-02-28 20:43:20 -05:00
zhoulin xie
a943ad0ee4
client/keys_bench_test.go: Fix some misspells
...
Signed-off-by: zhoulin xie <zhoulin.xie@daocloud.io>
2019-02-28 14:36:06 -05:00
Xiang Li
5694f3e4f5
Merge pull request #10481 from hnlq715/master
...
client: upgrade github.com/ugorji/go to v1.1.2
2019-02-28 21:15:33 +08:00
Sahdev P. Zala
8782bbae65
clientV3: fix behavior of WithPrefix and WithFromKey functions
...
The use of WithPrefix() and WithFromKey() together is not supported. The
client doesn't respect this behavior currently.
Fixes #10431
2019-02-27 09:23:01 -05:00
Xiang Li
17de9bd526
Merge pull request #10501 from datuanmac/replacing_http_by_https
...
doc: Replacing 'HTTP' by 'HTTPS' for securing links
2019-02-27 14:08:24 +08:00
Tuan Do Anh
32389b1876
doc: Replacing 'HTTP' by 'HTTPS' for securing links
...
Currently, when we access the URL https://www.grpc.io , it is redirected to https://www.grpc.io automatically.
So this commit aims to replace **HTTP** to **HTTPs** for security.
2019-02-27 10:15:22 +07:00
Gyuho Lee
918f0414dd
Merge pull request #10495 from gyuho/zap-logger
...
*: define default zap log configuration
2019-02-26 14:18:24 -08:00
Xiang Li
a7e3bd06b2
Merge pull request #10496 from trung/raft-example
...
raftexample: added build instruction and minor refactoring
2019-02-26 20:45:24 +08:00
Sophos
6543273666
client: generate new keys and remove yynn2 = 0
2019-02-25 12:07:40 +08:00
Sophos
1adc288223
vendor: update ugorji to v1.1.2
2019-02-25 12:05:35 +08:00
zhoulin xie
5effa154b4
auth/simple_token.go: fix plog.Panicf error message
...
Signed-off-by: zhoulin xie <zhoulin.xie@daocloud.io>
2019-02-24 19:34:02 -05:00
nolouch
e20b9d9e16
lease: fix deadlock with renew lease when the checkpointor is set
...
Signed-off-by: nolouch <nolouch@gmail.com>
2019-02-24 19:53:09 +08:00
Trung Nguyen
5b4ff6c6d5
raftexample: update readme
2019-02-21 16:56:52 -05:00
Trung Nguyen
74d6df2bd6
raftexample: added build instruction and minor refactoring
2019-02-21 15:00:38 -05:00
Gyuho Lee
dca0dec382
integration: use default log configuration
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2019-02-21 11:00:01 -08:00
Gyuho Lee
4f46b65748
clientv3: use default info level log configuration
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2019-02-21 10:57:38 -08:00
Gyuho Lee
8d1a62e7ef
*: use default log configuration for server
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2019-02-21 10:57:26 -08:00
Gyuho Lee
52391e3be7
pkg/logutil: define default zap.Config
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2019-02-21 10:56:53 -08:00
Jingyi Hu
8c228d692b
Merge pull request #10473 from haroldHT/master
...
benchmark: fix install docs
2019-02-19 13:27:55 -08:00
Gyuho Lee
e77069fd2e
Merge pull request #10486 from gyuho/vendor
...
vendor: fix vendor go mod
2019-02-19 09:29:05 -08:00
Gyuho Lee
a151edc8c2
vendor: fix vendor go mod
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2019-02-19 08:48:25 -08:00
Xiang Li
bf9444b32d
Merge pull request #10378 from johncming/net-partition
...
clientv3/integration: add timeout case.
2019-02-19 18:36:44 +08:00