17727 Commits

Author SHA1 Message Date
ahrtr
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
ahrtr
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
Sahdev Zala
5ed7f00166
Merge pull request #13788 from AdamKorcz/fuzz1
Add fuzzing audit report
2022-03-11 16:44:54 -05:00
AdamKorcz
1bfc88a8d6 Add fuzzing audit report 2022-03-11 20:52:29 +00:00
Sahdev Zala
4e97271e4e
Merge pull request #13770 from kkkkun/add-compact-test
tests: Migrate compact tests to common framework
2022-03-10 21:28:55 -05:00
kkkkun
34cd8ae1a2 tests: Migrate compact tests to common framework 2022-03-10 17:01:47 +08:00
Sahdev Zala
91f9ce9f5b
Merge pull request #13771 from ahrtr/fix_fmt_error_log
Fix some log format typos
2022-03-09 16:41:17 -05:00
ahrtr
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
ahrtr
d578a86a59 fix some log format typos 2022-03-10 03:26:34 +08:00
Marek Siarkowicz
b8be237d16
Merge pull request #13769 from ahrtr/fix_typo_downgrade
Fix some typos related to downgrade
2022-03-09 10:01:00 +01:00
ahrtr
1ae5aa52de fix some typos related to downgrade 2022-03-09 16:07:18 +08:00
Marek Siarkowicz
85d4567ead
Merge pull request #13767 from kkkkun/delete-restore-stack
clean up unnecessary stack log when restore
2022-03-08 11:58:08 +01:00
Marek Siarkowicz
01035878de
Merge pull request #13760 from ahrtr/fix_raftexample_snapshot
Update the confstate before sending snapshot
2022-03-08 10:34:02 +01:00
kkkkun
8800f0cabb clean up stack log 2022-03-08 17:04:03 +08:00
Luiz Gustavo
b6a2d2d48a
tools: Add -wal-dir flag on etcd-dump-logs to make it compatible with ETCD_WAL_DIR variable (#13672) 2022-03-07 21:29:20 -08:00
ahrtr
5cf6ba48de added a unit test for the method processMessages 2022-03-08 09:38:23 +08:00
Marek Siarkowicz
950a47504e
Merge pull request #13759 from cuishuang/main
fix some typos
2022-03-07 17:48:39 +01:00
cuishuang
b7824b794b fix some typos
Signed-off-by: cuishuang <imcusg@gmail.com>

fix some typos

Signed-off-by: cuishuang <imcusg@gmail.com>
2022-03-07 20:28:53 +08:00
ahrtr
793218ed2b update the confstate before sending snapshot
When there is a `raftpb.EntryConfChange` after creating the snapshot,
then the confState included in the snapshot is out of date. so We need
to update the confState before sending a snapshot to a follower.
2022-03-07 12:18:29 +08:00
Sahdev Zala
8ac44ffa5f
Merge pull request #13753 from serathius/common-delete
tests: Migrate kv delete tests to common framework.
2022-03-02 20:36:10 -05:00
Marek Siarkowicz
a60abee0d4 tests: Migrate kv delete tests to common framework. 2022-03-02 11:37:24 +01:00
Marek Siarkowicz
d2e5a8cb5d
Merge pull request #13750 from kkkkun/add-timeout
add timeout for http client
2022-03-02 10:15:44 +01:00
Marek Siarkowicz
31de503859
Merge pull request #13740 from serathius/common-get
Migrate key value Get to common framework
2022-03-02 10:14:34 +01:00
Piotr Tabor
7c472a964e
Merge pull request #13752 from kkkkun/delete-duplicate-code
mvcc: clean up duplicate metrics name
2022-03-01 17:09:40 +01:00
Piotr Tabor
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
kkkkun
124bc1ebbc mvcc: clean up duplicate metrics name 2022-03-01 18:00:07 +08:00
Marek Siarkowicz
1406a9919c
Merge pull request #13700 from AdamKorcz/fuzz8
server/etcdserver: fix oss-fuzz issue
2022-03-01 10:48:29 +01:00
Marek Siarkowicz
49e9cb5f53 tests: Test multi member cluster 2022-03-01 10:43:33 +01:00
Marek Siarkowicz
bd9f366f40 tests: Migrate TestKVRange integration test to TestKVGet 2022-03-01 10:43:31 +01:00
Marek Siarkowicz
74d77dbaaa tests: Migrate TestKVGet e2e test to common test framework 2022-03-01 10:41:57 +01:00
Marek Siarkowicz
81ef11ffb8 tests: Test different TLS configuration with TestKVPut 2022-03-01 10:41:21 +01:00
Marek Siarkowicz
58c3808919 tests: Handle multiple cluster configurations 2022-03-01 10:40:43 +01:00
Marek Siarkowicz
1c8adcd830 tests: Handle simple TLS configuration for cluster in common framework 2022-03-01 10:40:42 +01:00
Marek Siarkowicz
f7ee30cc41 tests: Implement remaining GetOptions fields 2022-03-01 10:35:18 +01:00
kkkkun
59f7764772 add timeout for http client 2022-03-01 11:11:09 +08:00
Marek Siarkowicz
fb55910500 version: bump up to 3.6.0-alpha.0 v3.6.0-alpha.0 tests/v3.6.0-alpha.0 etcdctl/v3.6.0-alpha.0 etcdutl/v3.6.0-alpha.0 server/v3.6.0-alpha.0 client/v3.6.0-alpha.0 client/v2.306.0-alpha.0 client/pkg/v3.6.0-alpha.0 raft/v3.6.0-alpha.0 pkg/v3.6.0-alpha.0 api/v3.6.0-alpha.0 2022-02-28 13:20:27 +01:00
Marek Siarkowicz
fd5cd9fd98
Merge pull request #13744 from serathius/release-scripts
scripts: Fix release scripts
2022-02-28 12:14:47 +01:00
Marek Siarkowicz
d5f3796c13
Merge pull request #13746 from kkkkun/delete-duplicate-metrics
delete duplicate metrics rangeCounterDebug
2022-02-28 12:14:14 +01:00
kkkkun
0ecd4de923 delete duplicate metrics rangeCounterDebug 2022-02-28 16:22:40 +08:00
Piotr Tabor
af7154c1f4
Merge pull request #13704 from kumakichi/main
fix: a little grammar issue
2022-02-25 18:55:45 +01:00
Marek Siarkowicz
778c95fdf4 scripts: Fix release scripts 2022-02-25 13:30:34 +01:00
Piotr Tabor
599bbf269c
Merge pull request #13728 from ahrtr/update_3.5_changelog_for_raft_term_decimal
Update 3.5 changelog to cover the PR of always printing raft_term in decimal
2022-02-25 09:04:53 +01:00
Piotr Tabor
f4f5ae77ab
Merge pull request #13737 from ahrtr/add_failover_test2
Add failover test cases
2022-02-25 08:58:51 +01:00
ahrtr
9b6681fffd add failover test cases 2022-02-25 09:55:36 +08:00
Piotr Tabor
a7106dc585
Merge pull request #13731 from serathius/ahrtr
Add ahrthr@ to reviewers
2022-02-24 22:52:31 +01:00
Marek Siarkowicz
9aaa6d8e7c
Merge pull request #13708 from serathius/common
Create common framework for e2e and integration tests and migrate TestKVPut test
2022-02-24 11:21:49 +01:00
Marek Siarkowicz
65be41dd6e tests: Rename framework to runner and document the runners 2022-02-24 10:36:46 +01:00
Marek Siarkowicz
10998ab90b
Merge pull request #13733 from ahrtr/change_discovery_url_to_endpoints
Change v3 discovery url to endpoints so as to support failover
2022-02-24 10:08:02 +01:00
ahrtr
6f03dc7416 update 3.5 changelog to cover the PR of always printing raft_term in decimal when displaying member list in json 2022-02-24 15:24:43 +08:00
ahrtr
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