17656 Commits

Author SHA1 Message Date
Marek Siarkowicz
42faf9fe06 etcdctl: Use minor versions for downgrade 2022-02-22 16:30:08 +01:00
Marek Siarkowicz
c1c2f1233d etcdctl: Documment downgrade commands 2022-02-22 16:29:35 +01:00
Marek Siarkowicz
16d7005137 etcdctl: Add dot at the end of sentences 2022-02-21 17:58:20 +01:00
Marek Siarkowicz
d0c1c3a1fd client: Alias downgrade action enum 2022-02-21 17:58:20 +01:00
Marek Siarkowicz
22ee50e005 etcdctl: Fix target version not provided message 2022-02-21 17:58:20 +01:00
Marek Siarkowicz
2a7766c8cd tests: Switch downgradetests to use etcdctl 2022-02-21 17:58:19 +01:00
Marek Siarkowicz
2db4d35554 tests: Move etcdctl to e2e framework 2022-02-21 17:58:19 +01:00
leoyang.yl
8e71ebf071 Add downgrade commands 2022-02-21 17:58:19 +01:00
Marek Siarkowicz
bf0b1a7e1d
Merge pull request #13686 from serathius/snapshot
server: Snapshot after cluster version downgrade
2022-02-21 17:57:27 +01:00
Marek Siarkowicz
a0f26ff4ea server: Snapshot after cluster version downgrade 2022-02-21 15:48:00 +01:00
Piotr Tabor
6105a6f0e8
Merge pull request #13683 from serathius/publishV3
server: Switch to publishV3
2022-02-21 14:16:22 +01:00
Marek Siarkowicz
b976074ef2
Merge pull request #13721 from ahrtr/correct_typo
Fix typo, renamed ErrGPRCNotSupportedForLearner to ErrGRPCNotSupportedForLearner
2022-02-21 10:19:23 +01:00
ahrtr
8681888012 fix typo, renamed ErrGPRCNotSupportedForLearner to ErrGRPCNotSupportedForLearner 2022-02-21 14:46:58 +08:00
Marek Siarkowicz
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
Marek Siarkowicz
20bf96dc40
Merge pull request #13712 from ahrtr/correct_dns_etcd_client
Trim the suffix dot from the srv.Target for etcd-client DNS lookup
2022-02-18 12:06:48 +01:00
ahrtr
5fc0092c87 trim the suffix dot from the srv.Target for etcd-client DNS lookup 2022-02-18 18:16:19 +08:00
Marek Siarkowicz
e814f6f78a
Merge pull request #13671 from mrueg/mixin-generate-manifests
contrib/mixin: Generate rules, fix tests
2022-02-15 23:06:52 +01:00
Marek Siarkowicz
8c91d60a6f server: Switch to publishV3 2022-02-14 23:06:45 +01:00
Sahdev Zala
aa75fd0850
Merge pull request #13689 from AdamKorcz/fuzz7
server/storage/wal: fix oss-fuzz issue 44433
2022-02-14 15:48:55 -05:00
Sahdev Zala
830f00d105
Merge pull request #13695 from AdamKorcz/fuzz1
server/etcdserver: fix oss-fuzz issue 42181
2022-02-14 15:36:41 -05:00
Marek Siarkowicz
09e35a44ec
Merge pull request #13676 from chaochn47/fix_12535
Load all leases from backend
2022-02-14 21:32:33 +01:00
Sahdev Zala
2923960ecd
Merge pull request #13693 from chaochn47/fix_coverage
Fix coverage failures
2022-02-14 15:03:56 -05:00
Marek Siarkowicz
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
Marek Siarkowicz
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
Piotr Tabor
9ebaf58dd6
Merge pull request #13694 from serathius/timeout
tests: Fix cluster version and downgrade request timeout
2022-02-14 14:53:34 +01:00
Marek Siarkowicz
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
AdamKorcz
0fcb2a628c server/storage/wal: fix oss-fuzz issue 44433 2022-02-14 11:50:27 +00:00
AdamKorcz
0df768d2b1 server/etcdserver: fix oss-fuzz issue 42181 2022-02-14 10:59:41 +00:00
Chao Chen
1675df37de update 3.6 CHANGELOG 2022-02-13 20:35:51 -08:00
Chao Chen
fd79af9ee7 load all leases from backend 2022-02-13 20:30:20 -08:00
Marek Siarkowicz
bdb13e2e12
Merge pull request #13681 from AdamKorcz/fuzz5
server/storage/mvcc: fix oss-fuzz issue 44449
2022-02-13 19:35:21 +01:00
Marek Siarkowicz
489b30828d
Merge pull request #13682 from AdamKorcz/fuzz6
server/auth: fix oss-fuzz issue 44478
2022-02-13 17:43:43 +01:00
sitchenchao
b683aa1254 fix ctl_v3_kv_no_quorum_test.go and coverage failures 2022-02-12 18:00:02 -08:00
Sahdev Zala
bba3937f69
Merge pull request #13649 from serathius/scripts
Cleanup scripts in root directory
2022-02-11 15:40:53 -05:00
Bogdan Kanivets
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
AdamKorcz
029c354316 server/storage/mvcc: fix oss-fuzz issue 44449 2022-02-11 10:57:02 +00:00
AdamKorcz
9d83325db8 server/auth: fix oss-fuzz issue 44478 2022-02-11 10:51:01 +00:00
Marek Siarkowicz
bcadd039a1
Merge pull request #13673 from ahrtr/replace_gobin
Replace gobin with go install
2022-02-11 10:26:31 +01:00
Manuel Rüger
72c33d8b05 contrib/mixin: Generate rules, fix tests
* Add Makefile
* Make tests runnable
* Add generated rule manifest file

Signed-off-by: Manuel Rüger <manuel@rueg.eu>
2022-02-10 16:17:03 +01:00
Marek Siarkowicz
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
ahrtr
900fc8dd7e replace gobin with go install
The repository github.com/myitcv/gobin has already been archived,
and the `go install` command accepts arguments with version suffixs
starting from 1.16 (for example, go install example.com/cmd@v1.0.0).
So there is no reason to continue to use gobin.
2022-02-08 05:41:21 +08:00
Marek Siarkowicz
a1f3c2c7cc server: Make --v2-deprecation=write-only the default and remove not-yet option 2022-02-02 13:55:52 +01:00
Marek Siarkowicz
396efd9608 Cleanup scripts in root directory 2022-02-02 13:50:44 +01:00
Marek Siarkowicz
986a2b51f4
Merge pull request #13636 from serathius/remove-v2-client
Remove v2 server
2022-02-02 11:41:56 +01:00
Sahdev Zala
1986357b4c
Merge pull request #13663 from serathius/post-3.5.2
release: Post v3.5.2 release updates and fixes
2022-02-01 18:45:00 -05:00
Marek Siarkowicz
902dc05014 tests: Update assertAuthority to explain filtering put method requests 2022-02-01 16:47:23 +01:00
Marek Siarkowicz
43c1631f26 tests: Use cmp.Equal to avoid mutating arguments 2022-02-01 16:47:18 +01:00
Marek Siarkowicz
ec8d8802fc
Merge pull request #13490 from serathius/wal-static-analysis
Implement WAL static analysis to ensure that new entries will be properly annotated
2022-02-01 16:15:07 +01:00
Marek Siarkowicz
aa76b32a05 release: Post v3.5.2 release updates and fixes 2022-02-01 15:36:45 +01:00
richkun
95ae9c19f0
Show db in use when print endpoint status (#13639) 2022-01-29 19:01:45 -08:00