Gyuho Lee
29a0c5f221
Merge pull request #11957 from gyuho/build-scripts
...
*: remove old gitignore and build functions
2020-05-31 00:53:40 -07:00
Gyuho Lee
ab65285418
vendor: regenerate
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2020-05-30 14:36:18 -07:00
Gyuho Lee
72a26d0797
vendor/modules.txt: regenerate
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2020-05-30 14:36:09 -07:00
Gyuho Lee
a48706ecfb
*: remove old gitignore and build functions
...
Not needed since we are now using go module.
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2020-05-30 14:35:34 -07:00
Gyuho Lee
9b6c3e3378
Merge pull request #11946 from crawshaw/crawshaw/nofsync
...
etcdserver, et al: add --unsafe-no-fsync flag
2020-05-27 09:00:31 -07:00
David Crawshaw
66cb045d47
etcdserver, et al: add --unsafe-no-fsync flag
...
This makes it possible to run an etcd node for testing and development
without placing lots of load on the file system.
Fixes #11930 .
Signed-off-by: David Crawshaw <crawshaw@tailscale.com>
2020-05-26 09:21:49 +10:00
Sahdev Zala
747ff75c96
Merge pull request #11942 from tedyu/client-3-cancel
...
clientv3: cancel the client if there is no endpoint
2020-05-24 15:55:53 -04:00
Ted Yu
dafd474677
clientv3: cancel the client if there is no endpoint
...
Signed-off-by: Ted Yu <yuzhihong@gmail.com>
2020-05-23 13:35:17 -07:00
Gyuho Lee
e007d4f58d
Merge pull request #11938 from tedyu/mk-v2-evt-nil
...
Check events against nil
2020-05-22 13:38:53 -07:00
Ted Yu
df57a68b47
Check events against nil
...
Signed-off-by: Ted Yu <yuzhihong@gmail.com>
2020-05-22 13:35:25 -07:00
Gyuho Lee
4c9571d909
Merge pull request #11933 from needkane/PR
...
etcdserver: Missing the cfg.Logger causes panic
2020-05-22 09:23:27 -07:00
needkane
c8ae694dea
etcdserver: Missing the cfg.Logger causes panic
2020-05-22 03:42:44 -04:00
Gyuho Lee
a4ada8cb1f
Merge pull request #11922 from tedyu/non-recursive-watch
...
clientv3: non-recursive Watch()
2020-05-20 20:36:09 -07:00
Ted Yu
f976138186
clientv3: non-recursive watch
...
Signed-off-by: Ted Yu <yuzhihong@gmail.com>
2020-05-20 15:44:41 -07:00
Gyuho Lee
f8ee908330
Merge pull request #11921 from tedyu/client-watch-lock
...
clientv3: use Mutex for watcher lock
2020-05-20 14:56:23 -07:00
Gyuho Lee
5f9bb45e39
CHANGELOG: highlight WAL fix with github issue, add 3.3/3.4 patch release
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2020-05-20 11:49:14 -07:00
Gyuho Lee
cac53867ac
rafthttp: log snapshot download
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2020-05-20 10:55:43 -07:00
Gyuho Lee
188c66ada8
Merge pull request #11924 from tangcong/fix-crc-mismatch
...
wal: fix crc mismatch crash bug
2020-05-20 10:30:40 -07:00
tangcong
02b9ad3939
wal: add TestValidSnapshotEntriesAfterPurgeWal testcase
2020-05-21 00:51:53 +08:00
tangcong
8450b16e1c
CHANGELOG: update for 11924
2020-05-21 00:51:49 +08:00
tangcong
1836cbb15e
wal: fix crc mismatch crash bug
2020-05-20 13:21:07 +08:00
Ted Yu
35d026246c
clientv3: use Mutex for watcher lock
...
Signed-off-by: Ted Yu <yuzhihong@gmail.com>
2020-05-19 19:20:44 -07:00
Gyuho Lee
732df43cf8
CHANGELOG: update dates
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2020-05-18 10:57:53 -07:00
Gyuho Lee
1fd1318409
etcdserver/api/rafthttp: improve snapshot send logging
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2020-05-18 02:29:20 -07:00
Gyuho Lee
5e2815e9cd
Merge pull request #11801 from YoyinZyc/downgrade-server
...
[Etcd downgrade] Implement downgrade validate, enable and cancel
2020-05-17 22:47:16 -07:00
Gyuho Lee
52edb7d38c
Merge pull request #11900 from tedyu/omit-orphaned-files
...
etcdserver: snapNames() should exclude orphaned defragmentation file
2020-05-17 15:37:10 -07:00
Ted Yu
f35015abc5
etcdserver: snapNames() should exclude orphaned defragmentation file
...
Signed-off-by: Ted Yu <yuzhihong@gmail.com>
2020-05-17 14:19:33 -07:00
Gyuho Lee
8b50f4e11d
Merge pull request #11899 from tedyu/rel-snap-db
...
etcdserver: continue releasing snap db in case of error
2020-05-17 14:01:33 -07:00
Ted Yu
b84d257b92
etcdserver: continue releasing snap db in case of error
...
Signed-off-by: Ted Yu <yuzhihong@gmail.com>
2020-05-16 04:43:55 -07:00
Gyuho Lee
52456659bd
Merge pull request #11903 from jchauncey/fix-dockerfile-release
...
fix(Dockerfile-release): from image was missing image name
2020-05-15 20:19:05 -07:00
Jonathan Chauncey
71c062e3d8
fix(Dockerfile-release): from image was missing image name
2020-05-15 22:48:11 -04:00
Gyuho Lee
31b6e5a087
Merge pull request #11896 from gyuho/snapshot
...
*: make sure snapshot save downloads SHA256 checksum
2020-05-15 19:41:50 -07:00
yoyinzyc
d230e6ba8c
etcdserver: handle and apply downgrade validate, enable and cancel requests
2020-05-15 14:45:00 -07:00
yoyinzyc
37e598a20b
etcdserver: define error string and link with grpc error code.
2020-05-15 11:51:39 -07:00
Gyuho Lee
d4ae7baea1
words: add SHA
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2020-05-14 22:57:52 -07:00
Gyuho Lee
39c43cfb3c
clientv3: make sure snapshot has integrity check hash
...
I've seen some cases SHA blobs are missing (still investigating).
Adding a check to make sure snapshot save always downloads
hash digests for integrity checks.
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2020-05-14 22:57:52 -07:00
Gyuho Lee
4ddcc36057
etcdserver/api/v3rpc: document, clean up snapshot sends
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2020-05-14 22:57:52 -07:00
Gyuho Lee
f1179fd70d
etcdserver/api/snap: update format string in "ReleaseSnapDBs"
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2020-05-14 22:57:20 -07:00
Gyuho Lee
3d3ed29d64
CHANGELOG: update
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2020-05-14 20:12:44 -07:00
Gyuho Lee
e821ac8b35
functional: bump up Go versions to 1.14.3
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2020-05-14 20:01:27 -07:00
Gyuho Lee
93de72537e
Makefile: bump up default Go version to 1.14.3
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2020-05-14 20:01:12 -07:00
Gyuho Lee
2c7670f9c6
travis: bump up to Go 1.14.3
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2020-05-14 20:00:57 -07:00
Gyuho Lee
3488e25a75
Merge pull request #11888 from jpbetz/out-of-range-fix
...
Fix state.commit is out of range on restart
2020-05-14 17:55:20 -07:00
Joe Betz
743e6e92cb
etcdserver/*, wal/*: Remove orphaned .snap.db files during Release
2020-05-14 15:16:51 -07:00
Sahdev Zala
dd7055be51
Merge pull request #11874 from jackkleeman/patch-1
...
Update CHANGELOG for 11850
2020-05-14 17:38:54 -04:00
Joe Betz
b68eea236e
etcdserver/*, wal/*:Add comments, clean up error messages and tests
2020-05-14 13:34:55 -07:00
Jack Kleeman
3b6d222627
CHANGELOG: update for 11850
...
https://github.com/etcd-io/etcd/pull/11850
2020-05-14 19:30:13 +01:00
Joe Betz
bd16071846
etcdserver/*, wal/*: find valid snapshots by cross checking snap files and wal snap entries
2020-05-14 09:22:45 -07:00
Viacheslav Biriukov
50517039ae
etcdserver/*, wal/*: add Sync method
2020-05-13 08:47:47 -07:00
Viacheslav Biriukov
91efa67cb1
etcdserver/*: rollback default settings
2020-05-13 08:47:47 -07:00