Benjamin Wang
1222269eba
Merge pull request #14458 from serathius/contributing
...
Improve contributor guidelines and simplify development commands
2022-09-15 06:02:43 +08:00
Sahdev Zala
35801ddf02
Add an initial features doc
...
Add an overview and initial development guidelines. Restructured
the doc for a better readabiltiy and easier review, and per the
previous review feedback. The TODOs will be addressed iteratively.
Related #13775
Signed-off-by: Sahdev Zala <spzala@us.ibm.com>
2022-09-14 17:53:55 -04:00
lovehhf
3b585e94fc
mvcc: Remove unused revisions and change comment rev to modified
...
Signed-off-by: Hongfei Huang <853885165@qq.com>
2022-09-14 23:36:54 +08:00
Marek Siarkowicz
2b17db8e17
Merge pull request #14461 from ahrtr/recommended_version
...
changelog: update the recommended version to 3.5.4+
2022-09-14 12:02:59 +02:00
Benjamin Wang
4a6afdd2e0
changelog: update the recommended version to 3.5.4+
...
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2022-09-14 15:53:14 +08:00
Marek Siarkowicz
b5bbf04503
Merge pull request #14460 from ahrtr/fix_TestV3AuthRestartMember_20220913
...
Integration_test: fix the flaky test TestV3AuthRestartMember
2022-09-14 09:44:15 +02:00
Marek Siarkowicz
a36bcfff1f
Improve contributor guidelines and simplify development commands
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2022-09-14 09:39:32 +02:00
Marek Siarkowicz
df891e3c2f
Merge pull request #14451 from serathius/clean
...
Just some cleanup of expect
2022-09-14 09:20:20 +02:00
Benjamin Wang
e8ad008067
integration_test: fix the flaky test TestV3AuthRestartMembe
...
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2022-09-14 14:30:37 +08:00
Marek Siarkowicz
bbcbcd9db4
Merge pull request #14459 from serathius/template
...
github: Improve issue templates to speed up issue triage
2022-09-13 21:09:31 +02:00
Marek Siarkowicz
481f73c066
github: Improve issue templates to speed up issue triage
...
Add feature request and test flake template to stop users from using wrong or empty
template
Redirect questions to discuss page to remove load from maintainers.
Remove distributors appliations as they are not used at all.
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2022-09-13 17:19:13 +02:00
Marek Siarkowicz
157ee32da4
test: Clean incorrectly used StopSignal field from expect
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2022-09-13 15:22:45 +02:00
Benjamin Wang
37220a97dc
Merge pull request #14452 from ahrtr/pagewriter_update
...
add a verification on the pagebytes which must be > 0
2022-09-13 19:38:48 +08:00
Hitoshi Mitake
5f62375d62
Merge pull request #14455 from ahrtr/nil_log_assert
...
add verification on nil log
2022-09-13 20:14:56 +09:00
Benjamin Wang
47d460b8dc
add verification on nil log
...
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2022-09-13 17:11:36 +08:00
Benjamin Wang
5a315ef88f
add a verification on the pagebytes which must be > 0
...
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2022-09-13 16:35:31 +08:00
Marek Siarkowicz
1038c2f45c
tests: Extract expect configuration into struct
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2022-09-13 09:20:35 +02:00
Allen Ray
959ef2062c
Update CHANGELOG/CHANGELOG-3.6.md
...
Co-authored-by: Benjamin Wang <wachao@vmware.com>
Signed-off-by: Allen Ray <alray@redhat.com>
2022-09-12 14:12:55 -04:00
Sahdev Zala
d38132e367
Add features dev and support policy doc
...
Addressed feedback with some added thoughts. Also, added
Unsafe features.
Related #13775
Signed-off-by: Sahdev Zala <spzala@us.ibm.com>
2022-09-10 16:46:00 -04:00
Benjamin Wang
b886bbc89f
Merge pull request #14443 from ahrtr/changelog_auth_restart_20220909
...
Updated changelog to cover the two issues
2022-09-09 18:30:23 +08:00
Marek Siarkowicz
92d8d7f41e
Merge pull request #14445 from tjungblu/movelead_main
...
etcdctl: fix move-leader for multiple endpoints
2022-09-09 11:20:33 +02:00
Benjamin Wang
01f2de662a
updated changelog to cover the two issues:
...
1. authentication data not loaded on member startup
2. etcdctl move-leader may fail for multiple endpoints
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2022-09-09 16:43:48 +08:00
Thomas Jungblut
3fc16608f7
etcdctl: fix move-leader for multiple endpoints
...
Due to a duplicate call of clientConfigFromCmd, the move-leader command
would fail with "conflicting environment variable is shadowed by corresponding command-line flag".
Also in scenarios where no command-line flag was supplied.
Signed-off-by: Thomas Jungblut <tjungblu@redhat.com>
2022-09-09 10:38:13 +02:00
Benjamin Wang
1ee1eff0c5
Merge pull request #14437 from clarkfw/migrate-member-remove-tests
...
tests: Migrate member remove tests to common framework
2022-09-09 16:37:56 +08:00
Clark
6a5dd09fe6
tests: Migrate member remove tests to common framework
...
Signed-off-by: Clark <fwyongxing@gmail.com>
2022-09-09 15:09:10 +08:00
Marek Siarkowicz
0e1c895108
Merge pull request #14373 from serathius/maintainers
...
Move inactive maintainers to emeritus
2022-09-08 16:48:02 +02:00
Marek Siarkowicz
e8c9163da7
Merge pull request #14435 from serathius/changelog-compac-hash-check
...
Document compact-hash-check flags in changelog
2022-09-08 09:54:15 +02:00
Marek Siarkowicz
0315b317d1
Document compact-hash-check flags in changelog
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2022-09-08 09:23:54 +02:00
Benjamin Wang
1d95b82b19
Merge pull request #14421 from vsvastey/usr/vsvastey/open-with-max-index-test-fix
...
testing: fix TestOpenWithMaxIndex cleanup
2022-09-08 06:41:36 +08:00
Vladimir Sokolov
a4f140c9fa
testing: fix TestOpenWithMaxIndex cleanup
...
A WAL object was closed by defer, however the WAL was rewritten afterwards,
so defer closed already closed WAL but not the new one. It caused a data
race between writing file and cleaning up a temporary test directory,
which led to a non-deterministic bug.
Fixes #14332
Signed-off-by: Vladimir Sokolov <vsvastey@gmail.com>
2022-09-07 21:30:16 +03:00
Sahdev Zala
e782619415
Add features dev and support policy doc
...
Related https://github.com/etcd-io/etcd/issues/13775
Signed-off-by: Sahdev Zala <spzala@us.ibm.com>
2022-09-07 11:15:10 -04:00
Benjamin Wang
098354859c
Merge pull request #14427 from BabisK/issue-14426
...
Mockserver can handle requests to the leases API
2022-09-07 15:26:36 +08:00
Babis Kaidos
0eb642c4d9
Mockserver can handle requests to the leases API
...
This should allow clients using the leases API to perform UTs.
Fixes #14426
Signed-off-by: Babis Kaidos <babis_k@outlook.com>
2022-09-06 18:48:51 +03:00
Yingrong Zhao
57206f9dfb
shutdown tracer provider first
...
Signed-off-by: Yingrong Zhao <yingrong.zhao@gmail.com>
2022-09-06 11:26:31 -04:00
Marek Siarkowicz
f40a650e76
Merge pull request #14430 from ahrtr/changelog_ci_log
...
Update changelog to cover some PRs
2022-09-06 09:29:24 +02:00
Marek Siarkowicz
f0c95cadea
Merge pull request #14281 from clarkfw/migrate-member-add-tests
...
tests: Migrate member add tests to common framework
2022-09-06 09:27:28 +02:00
Benjamin Wang
92ddc940ca
Update changelog to cover some PRs
...
Issues:
1. https://github.com/etcd-io/etcd/issues/14402 fixed in 3.4 only;
2. https://github.com/etcd-io/etcd/issues/14382 fixed in both 3.5 and main.
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2022-09-06 12:56:42 +08:00
Clark
fcc076fb78
tests: Migrate member add tests to common framework
...
Signed-off-by: Clark <fwyongxing@gmail.com>
2022-09-06 11:02:54 +08:00
Benjamin Wang
a55265513e
Merge pull request #14425 from ahrtr/update_changelog_data_loss
...
Update changelog for 3.4, 3.5 and 3.6 for the potential data loss in one-node cluster
2022-09-06 08:41:51 +08:00
Benjamin Wang
ed0730c02e
update changelog for 3.4, 3.5 and 3.6 for the potential data loss in one-node cluster
...
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2022-09-06 05:19:45 +08:00
Benjamin Wang
3dc5348d94
Merge pull request #14419 from ahrtr/alarm_list_ci
...
Move consistent_index forward when executing alarmList operation
2022-09-06 03:50:58 +08:00
Benjamin Wang
73029fe89f
Merge pull request #14400 from ahrtr/one_member_data_loss_raft
...
[Second Solution] Fix the potential data loss for clusters with only one member (simpler solution)
2022-09-05 20:00:20 +08:00
Benjamin Wang
cc840336f0
move consistent_index forward when executing alarmList operation
...
The alarm list is the only exception that doesn't move consistent_index
forward. The reproduction steps are as simple as,
```
etcd --snapshot-count=5 &
for i in {1..6}; do etcdctl alarm list; done
kill -9 <etcd_pid>
etcd
```
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2022-09-05 10:05:55 +08:00
Benjamin Wang
4d57eb8d3b
Merge pull request #14360 from clarkfw/common-test-of-e2e-disable-strict-reconfig-check-by-default
...
tests: unify `--strict-reconfig-check` config of common framework
2022-09-05 03:24:07 +08:00
Clark
3f3149b15f
tests: fix failed integration test cases after enabling --strict-reconfig-check
by default
...
Signed-off-by: Clark <fwyongxing@gmail.com>
2022-09-03 15:56:51 +08:00
Benjamin Wang
3c79a4dc38
Merge pull request #14418 from lovehhf/update_goreman_install_comment
...
Procfiles: Update Goreman Installation Command
2022-09-03 15:18:10 +08:00
lovehhf
d8ddb2dc52
Procfiles: Update Goreman Installation Command
...
Starting in Go 1.17, Installing executables with go get is deprecated. go install may be used instead.
Refer to https://go.dev/doc/go-get-install-deprecation
Signed-off-by: Hongfei Huang <853885165@qq.com>
2022-09-03 10:34:19 +08:00
Clark
3beb25489d
tests: enable --strict-reconfig-check
by default and expose it to common framework
...
Signed-off-by: Clark <fwyongxing@gmail.com>
2022-08-31 22:21:23 +08:00
Benjamin Wang
5707147363
Merge pull request #14391 from cenkalti/revive
...
Add revive to the list of linters.
2022-08-31 16:38:51 +08:00
Benjamin Wang
30d5f0a8f9
Merge pull request #14392 from cenkalti/golangci-lint-github-action
...
Setup golangci-lint GitHub action
2022-08-31 16:21:15 +08:00