edce939f6e
add one more field storageVersion into StatusResponse
...
When performing the downgrade operation, users can confirm whether each member
is ready to be downgraded using the field 'storageVersion'. If it's equal to the
'target version' in the downgrade command, then it's ready to be downgraded;
otherwise, the etcd member is still in progress of processing the db file.
2022-03-18 07:04:44 +08:00
1a3822f2c3
Rename ClientConfig to ConfigSpec
...
The ClientConfig is a fully declarive configuration, so it makes more
sense to rename it to ConfigSpec. It can also mitigate the confusion
between Config and ClientConfig.
2022-03-13 05:41:49 +08:00
3dcbbf62d9
Move clientconfig into clientv3 so that it can be reused by both etcdctl and v3 discovery
2022-03-12 06:38:41 +08:00
3ecd8d2364
update incorrect migration log message
...
It can be upgrade or downgrade, so we should use word "updated" here.
2022-03-10 04:39:56 +08:00
d578a86a59
fix some log format typos
2022-03-10 03:26:34 +08:00
1ae5aa52de
fix some typos related to downgrade
2022-03-09 16:07:18 +08:00
d2e5a8cb5d
Merge pull request #13750 from kkkkun/add-timeout
...
add timeout for http client
2022-03-02 10:15:44 +01:00
7c472a964e
Merge pull request #13752 from kkkkun/delete-duplicate-code
...
mvcc: clean up duplicate metrics name
2022-03-01 17:09:40 +01:00
088807c08e
Merge pull request #13565 from ahrtr/remove_peer_serve_client_requests
...
Updated servePeers to remove the grpc server
2022-03-01 16:24:42 +01:00
124bc1ebbc
mvcc: clean up duplicate metrics name
2022-03-01 18:00:07 +08:00
1406a9919c
Merge pull request #13700 from AdamKorcz/fuzz8
...
server/etcdserver: fix oss-fuzz issue
2022-03-01 10:48:29 +01:00
59f7764772
add timeout for http client
2022-03-01 11:11:09 +08:00
fb55910500
version: bump up to 3.6.0-alpha.0
2022-02-28 13:20:27 +01:00
0ecd4de923
delete duplicate metrics rangeCounterDebug
2022-02-28 16:22:40 +08:00
af7154c1f4
Merge pull request #13704 from kumakichi/main
...
fix: a little grammar issue
2022-02-25 18:55:45 +01:00
2f36e0c62b
Change discovery url to endpoints
...
Currently the discovery url is just one endpoint. But actually it
should be the same as the etcdctl, which means that it should be
a list of endpoints. When one endpoint is down, the clientv3 can
fail over to the next endpoint automatically.
2022-02-24 09:11:41 +08:00
6af760131e
Merge pull request #13687 from serathius/etcdctl
...
Add downgrade commands
2022-02-22 17:12:23 +01:00
42faf9fe06
etcdctl: Use minor versions for downgrade
2022-02-22 16:30:08 +01:00
b5e224db7d
Merge pull request #13635 from ahrtr/v3_discovery
...
support v3 discovery to bootstrap a new etcd cluster
2022-02-21 21:50:40 +01:00
f80f477073
Merge pull request #13644 from Juneezee/refactor/t.TempDir
...
*: use `T.TempDir` to create temporary test directory
2022-02-21 19:52:37 +01:00
ebc86d12c0
support v3 discovery to bootstrap a new etcd cluster
2022-02-21 23:22:49 +08:00
a0f26ff4ea
server: Snapshot after cluster version downgrade
2022-02-21 15:48:00 +01:00
6105a6f0e8
Merge pull request #13683 from serathius/publishV3
...
server: Switch to publishV3
2022-02-21 14:16:22 +01:00
8681888012
fix typo, renamed ErrGPRCNotSupportedForLearner to ErrGRPCNotSupportedForLearner
2022-02-21 14:46:58 +08:00
a63fa17b76
Merge pull request #13645 from yangxuanjia/yxjetcd_fix_panic_when_restart_after_removeMember
...
fix panic when restart after removeMember
2022-02-20 12:28:14 +01:00
5649cf3f1a
Log and return instead of panic
2022-02-16 10:31:08 +00:00
caeec38c2a
fix: a little grammar issue
2022-02-16 17:44:46 +08:00
fad82c1b6f
server/etcdserver: fix oss-fuzz issue N
2022-02-15 15:32:31 +00:00
8c91d60a6f
server: Switch to publishV3
2022-02-14 23:06:45 +01:00
aa75fd0850
Merge pull request #13689 from AdamKorcz/fuzz7
...
server/storage/wal: fix oss-fuzz issue 44433
2022-02-14 15:48:55 -05:00
830f00d105
Merge pull request #13695 from AdamKorcz/fuzz1
...
server/etcdserver: fix oss-fuzz issue 42181
2022-02-14 15:36:41 -05:00
09e35a44ec
Merge pull request #13676 from chaochn47/fix_12535
...
Load all leases from backend
2022-02-14 21:32:33 +01:00
a0347261e4
Merge pull request #13679 from lavacat/defrag-bopts-fix
...
server/storage/backend: restore original bolt db options after defrag
2022-02-14 20:24:02 +01:00
310de9bd8b
Merge pull request #13612 from serathius/write-only
...
server: Make --v2-deprecation=write-only the default and remove not-y…
2022-02-14 17:09:42 +01:00
9ebaf58dd6
Merge pull request #13694 from serathius/timeout
...
tests: Fix cluster version and downgrade request timeout
2022-02-14 14:53:34 +01:00
3de5e221a8
tests: Fix cluster version and downgrade request timeout
...
Returning nil means that raft.Trigger was not called, causing member to
wait infinitly for response for response on raft request.
2022-02-14 14:19:06 +01:00
0fcb2a628c
server/storage/wal: fix oss-fuzz issue 44433
2022-02-14 11:50:27 +00:00
0df768d2b1
server/etcdserver: fix oss-fuzz issue 42181
2022-02-14 10:59:41 +00:00
fd79af9ee7
load all leases from backend
2022-02-13 20:30:20 -08:00
bdb13e2e12
Merge pull request #13681 from AdamKorcz/fuzz5
...
server/storage/mvcc: fix oss-fuzz issue 44449
2022-02-13 19:35:21 +01:00
01347a8f53
server/storage/backend: restore original bolt db options after defrag
...
Problem: Defrag was implemented before custom bolt options were added.
Currently defrag doesn't restore backend options.
For example BackendFreelistType will be unset after defrag.
Solution: save bolt db options and use them in defrag.
2022-02-11 11:01:27 -08:00
029c354316
server/storage/mvcc: fix oss-fuzz issue 44449
2022-02-11 10:57:02 +00:00
9d83325db8
server/auth: fix oss-fuzz issue 44478
2022-02-11 10:51:01 +00:00
20c89df5e5
Merge pull request #13525 from ahrtr/do_not_wait_ReadyNotify_infinitely
...
Etcd server shouldn't wait for the ready notification infinitely on startup
2022-02-08 14:50:09 +01:00
a1f3c2c7cc
server: Make --v2-deprecation=write-only the default and remove not-yet option
2022-02-02 13:55:52 +01:00
986a2b51f4
Merge pull request #13636 from serathius/remove-v2-client
...
Remove v2 server
2022-02-02 11:41:56 +01:00
f4187b4460
tools: Improve proto annotation documentation
2022-01-28 11:40:55 +01:00
c836905a1d
proxy: Fix proxy not passing Linearizable field by using GRPC client
2022-01-28 11:39:19 +01:00
a879ccf152
updated servePeers to remvoe the grpc server
2022-01-27 16:22:01 +08:00
1713dc67b5
etcd server shouldn't wait for the ready notification infinitely on startup
2022-01-27 16:19:20 +08:00