Xiang Li
589ab747f7
Merge pull request #11014 from dbavatar/peervalidation
...
etcdserver: Fix PeerURL validation
2019-09-13 17:42:39 -07:00
Debabrata Banerjee
0dd10cf6b8
etcdserver: Fix PeerURL validation
...
In case of URLs that are synonyms, the current lexicographic sorting
and compare of the URLs fails with frustrating errors. Make sure to do
a full comparison between every set of PeerURLs before failing.
Fixes #11013
2019-09-13 17:53:40 -04:00
Gyuho Lee
4de594a3fe
Merge pull request #11149 from spzala/embedzaplogger
...
CHANGELOG: update 3.4.1 and 3.5
2019-09-13 14:07:53 -07:00
Sahdev P. Zala
b4be60515b
CHANGELOG: update 3.4.1 and 3.5
...
Update from #11147 and #11148
2019-09-13 15:51:46 -04:00
Gyuho Lee
bf3d1fb484
Merge pull request #11147 from ChrisRx/revert-embed-logger
...
embed: expose ZapLoggerBuilder
2019-09-13 09:31:05 -07:00
chris
e8660c0cec
embed: expose ZapLoggerBuilder
...
This exposes the ZapLoggerBuilder in the embed.Config to allow for
custom loggers to be defined and used by embedded etcd.
Fixes #11144
2019-09-13 07:46:01 -04:00
Gyuho Lee
1e7e66727e
Merge pull request #11146 from vimalk78/clientv3-fixes
...
CHANGELOG : Update CHANGELOG-3.5.md for Mutex.TryLock
2019-09-12 21:13:01 -07:00
Vimal K
82e3579250
*: Update CHANGELOG-3.5.md for Mutex.TryLock
...
Added https://github.com/etcd-io/etcd/pull/11104 to CHANGELOG for 3.5
2019-09-12 14:34:26 -07:00
Xiang Li
79b15a9c46
Merge pull request #11104 from vimalk78/clientv3-fixes
...
clientv3/concurrency: Added Mutex.TryLock()
2019-09-12 12:23:29 -07:00
Gyuho Lee
2822da8659
CHANGELOG: update gRPC Dependency changes
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2019-09-11 14:56:18 -07:00
Gyuho Lee
cee9a84c82
Merge pull request #11140 from gyuho/grpc
...
vendor: upgrade to gRPC v1.23.1
2019-09-11 14:16:07 -07:00
Gyuho Lee
2ed05bfc33
vendor: upgrade to gRPC v1.23.1
...
https://github.com/grpc/grpc-go/releases/tag/v1.23.1
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2019-09-11 12:25:49 -07:00
Sahdev Zala
62822c52c8
Merge pull request #11138 from spzala/lock10840
...
ETCDCTL_README: clarify the usage of ETCDCTL_* variables
2019-09-10 15:31:26 -04:00
Gyuho Lee
c9d00ce130
README: require 1.13
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2019-09-10 10:43:06 -07:00
vimalk78
04ddfa8b8d
clientv3/concurrency: Added Mutex.TryLock()
...
TryLock locks the mutex if not already locked by another session.
If lock is held by another session, return immediately after attempting necessary cleanup
Added integration test
Fixes #10493
2019-09-09 20:16:07 -07:00
Sahdev P. Zala
55b37261bc
ETCDCTL_README: clarify the usage of ETCDCTL_* variables
...
fixes # 10840
2019-09-09 16:31:32 -04:00
Gyuho Lee
594005d7de
Merge pull request #11136 from jingyih/update_changelog
...
CHANGELOG: update to add new metrics
2019-09-06 23:06:25 -07:00
Jingyi Hu
93d97bedde
CHANGELOG: update to add new metrics
2019-09-06 17:27:58 -07:00
Xiang Li
dc56dfc68f
Merge pull request #11109 from vimalk78/tools-fix
...
tools/etcd-dump-logs: Fixed default values for -entry-type flag
2019-09-06 13:48:33 -07:00
Gyuho Lee
00171cc17d
CHANGELOG: update 3.4 patch release, 3.5
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2019-09-06 13:25:31 -07:00
Gyuho Lee
d2c2130d72
Merge pull request #11110 from gyuho/go
...
*: update test Go version / release version
2019-09-06 13:16:44 -07:00
Gyuho Lee
ef0eec1b04
CHANGELOG: update Go version, 3.4 patch release
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2019-09-06 13:06:42 -07:00
Gyuho Lee
92317650ec
travis: skipping bom tests for now
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2019-09-06 12:58:43 -07:00
Gyuho Lee
d4d57c5422
test: skip govet shadow tests for now
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2019-09-06 12:51:10 -07:00
Jingyi Hu
88d998be4c
Merge pull request #10975 from lzhfromustc/currentRev
...
Add critical section to protect s.currentRev
2019-09-06 12:27:53 -07:00
Vimal K
e98479ddfe
tools/etcd-dump-logs: Fixed test cases
...
Fixed failing test cases due to changes in previous commit
2019-09-06 20:11:41 +01:00
Vimal K
4e551d06ed
tools/etcd-dump-logs: Fixed default values for -entry-type flag
...
The tool takes default values but it was not visible which default
values were taken. Added default values in proper place, and added a
newline at the end of output.
2019-09-06 20:11:41 +01:00
Ziheng Liu
077dd74827
mvcc: add a TODO in (*store).Hash, to warn against potential data race of currentRev and suggest feasible fix
2019-09-06 15:05:43 -04:00
Gyuho Lee
2cab6edf94
go.mod: use Go 1.13
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2019-09-06 11:39:16 -07:00
Gyuho Lee
1dff148f69
scripts/updatedep: use Go 1.13
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2019-09-06 11:39:03 -07:00
Gyuho Lee
a3f7202c5f
*: use TLS.Config.MaxVersion to TLS 1.2
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2019-09-06 11:38:03 -07:00
Gyuho Lee
42ad719155
*: update test Go version / release version
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2019-09-05 21:46:56 -07:00
Gyuho Lee
64b3e59766
Merge pull request #11129 from vimalk78/integration-fixes
...
integration : fix TestTLSClientCipherSuitesMismatch in go1.13
2019-09-05 21:46:43 -07:00
Sahdev Zala
130cf96c98
Merge pull request #11128 from jingyih/update_changelog
...
CHANGELOG-3.5: update from #11126
2019-09-05 20:15:42 -04:00
Vimal K
2648a36f8c
integration : fix TestTLSClientCipherSuitesMismatch in go1.13
...
In go1.13, the TLS13 is enablled by default, and as per go1.13 release notes :
TLS 1.3 cipher suites are not configurable. All supported cipher suites are safe,
and if PreferServerCipherSuites is set in Config the preference order is based
on the available hardware.
Fixing the test case for go1.13 by limiting the TLS version to TLS12
2019-09-06 01:12:32 +01:00
Jingyi Hu
c40fc778ce
CHANGELOG: update changelog 3.5
...
Add etcd_debugging_mvcc_current_revision and
etcd_debugging_mvcc_compact_revision.
2019-09-05 16:45:11 -07:00
Jingyi Hu
fc8f29bc40
Merge pull request #11126 from jingyih/add_metric_store_revision
...
mvcc: add store revision metrics
2019-09-05 16:41:59 -07:00
Jingyi Hu
0f8c46a0f3
mvcc: add store revision metrics
...
Add experimental metrics etcd_debugging_mvcc_current_revision and
etcd_debugging_mvcc_compact_revision.
2019-09-05 15:40:06 -07:00
Xiang Li
e2035ba49a
Merge pull request #11113 from vimalk78/learner-fixes
...
. : added Procfile.learner
2019-09-05 12:52:36 -07:00
Vimal K
53fd227f5c
. : added Procfile.learner
...
Added Procfile.learner to easily start cluster with learner
Modified README.md to highlight its usage
Update review comments
2019-09-05 17:18:48 +01:00
Xiang Li
cbfaecdb85
Merge pull request #11117 from vimalk78/wal-fixes
...
wal : wal.Verify defer close the opened WAL files
2019-09-04 23:25:29 -07:00
Gyuho Lee
01a79d4a9d
Merge pull request #11118 from zhangjianweibj/re-fix-percent-bug
...
etcdserver: remove dup percentage sign in log
2019-09-04 22:02:56 -07:00
zhangjianweibj
81a34ab6d5
etcdserver: remove dup percentage sign in log
2019-09-05 11:24:39 +08:00
Vimal K
adbae79565
wal : wal.Verify defer close the opened WAL files
...
wal.Verify() : The opened WAL files are not closed in error cases. Fixed by adding a
defer.
2019-09-04 23:38:14 +01:00
Gyuho Lee
fb41ebea52
Merge pull request #11108 from gyuho/fix-zap
...
embed: fix secure server logging message
2019-09-03 09:42:54 -07:00
Gyuho Lee
f3d67acf3d
Merge pull request #11103 from mrueg/shellcheck
...
scripts/release: Apply shellcheck findings
2019-09-03 09:42:13 -07:00
Gyuho Lee
ea0f08de20
embed: fix secure server logging message
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2019-09-03 08:56:32 -07:00
Manuel Rüger
d981fe6b6b
scripts/release: Apply shellcheck findings
...
I run https://github.com/koalaman/shellcheck/ over scripts/* and fixed
the findings it returned.
Signed-off-by: Manuel Rüger <manuel@rueg.eu>
2019-09-02 17:50:04 +02:00
Gyuho Lee
14624b7d64
Merge pull request #11097 from philips/sha256sums
...
scripts/release: rename SHA256SUM to SHA256SUMS
2019-08-30 13:34:50 -07:00
Brandon Philips
f108a32393
scripts/release: rename SHA256SUM to SHA256SUMS
...
These files are commonly called SHA256SUMS and with this change rget
works for v3.4.0 as well.
2019-08-30 13:31:17 -07:00