Commit Graph

17685 Commits

Author SHA1 Message Date
Marek Siarkowicz
db5b3a9a6d Move changelogs to subdirectory 2022-01-26 11:46:20 +01:00
bjyangxuanjia
d108a241d0 fix panic when restart after removeMember
fix panic when restart after removeMember

fix panic when restart after removeMember
2022-01-26 16:03:00 +08:00
Marek Siarkowicz
692b3c4cd7 server: Remove most of V2 API 2022-01-25 15:24:13 +01:00
Marek Siarkowicz
37879eb5f9 test: Migrate WaitMembersMatch to V3 API 2022-01-25 13:56:17 +01:00
Sahdev Zala
682b867653 Merge pull request #13640 from serathius/revision
tests: Move revision tests out of concurrency
2022-01-24 13:57:11 -05:00
Marek Siarkowicz
c59694d41e test: Migrate WaitMembersForLeader to V3 API 2022-01-24 17:26:51 +01:00
Marek Siarkowicz
81490c25d1 test: Migrate WaitStarted to V3 API 2022-01-24 17:26:50 +01:00
Marek Siarkowicz
ee6306b9f9 Migrate RemoveMember and AddMember to V3 API 2022-01-24 17:01:22 +01:00
Eng Zer Jun
e9edc5432c *: use T.TempDir to create temporary test directory
The directory created by `T.TempDir()` and is automatically removed when
the test and all its subtests complete.

Reference: https://pkg.go.dev/testing#T.TempDir
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-01-25 00:00:46 +08:00
Marek Siarkowicz
3788523a3e tests: Move revision tests out of concurrency 2022-01-24 15:33:30 +01:00
Piotr Tabor
a1fb9ff1e4 Merge pull request #13621 from serathius/integration-v2-api
Remove V2 API usage from Integration tests
2022-01-24 12:28:42 +01:00
Piotr Tabor
f9a8c49c69 Merge pull request #13555 from ahrtr/protect_range_sort
Add protection code for Range when the sortTarget is an invalid value
2022-01-22 16:05:43 +01:00
Piotr Tabor
451ea5406e Merge pull request #13556 from yank1/use-distroless-as-base-image
Use Distroless as base image
2022-01-22 16:03:14 +01:00
Piotr Tabor
17568a19f4 Merge pull request #13568 from horizonzy/avoid-always-put-metaterm
Avoid always update meta term.
2022-01-22 16:02:50 +01:00
Sahdev Zala
f73d625da6 Merge pull request #13633 from spzala/ghactionpermission
Revert CodeQL permission
2022-01-21 17:12:46 -05:00
Sahdev Zala
f8eeecc359 Revert CodeQL permission
Reverting per the latest discussion in the issue 13588 to
test if we can remove the write permission.
2022-01-21 16:45:08 -05:00
Piotr Tabor
32dc022ea4 Merge pull request #13631 from serathius/patch-3
Add required permissions for CodeQL
2022-01-21 14:57:12 +01:00
Marek Siarkowicz
0ab7c7842e Add required permissions for CodeQL 2022-01-21 14:21:10 +01:00
Marek Siarkowicz
a53074542b test: Run v2 discovery tests on previous version binary 2022-01-20 14:10:09 +01:00
Marek Siarkowicz
264fdbb6a1 test: Remove separation between V2 and V3 cluster in integration tests 2022-01-20 14:10:09 +01:00
Marek Siarkowicz
7b365e48d3 test: Remove usage of V2 Put API in tests 2022-01-20 14:10:09 +01:00
Marek Siarkowicz
de30257d79 test: Always run server with grpc enabled 2022-01-20 14:10:09 +01:00
Marek Siarkowicz
51f72915e4 test: Move UseGRPC to member config 2022-01-20 14:10:09 +01:00
Marek Siarkowicz
87c8e8b868 test: Migrate to ClusterV3 cluster in integration tests 2022-01-20 14:10:09 +01:00
Marek Siarkowicz
69fc517e56 test: Add StrictReconfigCheck to cluster 2022-01-20 14:10:09 +01:00
Marek Siarkowicz
98242da5f1 test: Handle adding new members for clusters with TCP enabled 2022-01-20 14:10:09 +01:00
Marek Siarkowicz
5bcbf77980 tests: Move client to member struct 2022-01-20 14:10:09 +01:00
Piotr Tabor
b8182cd2af Merge pull request #13627 from a523/update-readme
README: fix go version that development required
2022-01-20 10:42:22 +01:00
leixin
dc90699db2 README: fix go version that development required 2022-01-20 16:17:10 +08:00
Sahdev Zala
1ec3722ce5 Merge pull request #13626 from ml-/alerts-summary
contrib/mixin: add missing summary to alerts
2022-01-19 17:00:31 -05:00
Sahdev Zala
21687ba013 Merge pull request #13625 from spzala/updatemaintainers
Update maintainers
2022-01-19 14:37:31 -05:00
Matthias Lisin
7460379bad contrib/mixin: add missing summary to alerts
to avoid alert messages being templated with undefined values lets
set summary for alerts that are currently missing one
2022-01-19 19:55:40 +01:00
Sahdev Zala
fff5c11ee9 Update maintainers
Move Brandon Philips to emeritus. Thank you Brandon for your
contributions and leadership to the project.
2022-01-19 13:32:23 -05:00
horizonzy
282e4e6e88 make code more readable. 2022-01-19 22:24:49 +08:00
Piotr Tabor
14a661e643 Merge pull request #13601 from lixd/op-put-lease
mvcc: add a fast return at put method
2022-01-19 14:47:26 +01:00
yankay
381752182a Fix for code style
Signed-off-by: yankay <kay.yan@daocloud.io>
2022-01-18 21:13:35 +08:00
ahrtr
15568f4c00 add protection code for Range when the sortTarget is an invalid value 2022-01-18 07:46:37 +08:00
Sahdev Zala
36351744eb Merge pull request #13551 from ahrtr/check_ipv6_for_gateway
format listenning address correctly for IPv6 ip address
2022-01-17 18:42:17 -05:00
ahrtr
8d8247b092 format listenning address correctly for IPv6 ip address 2022-01-18 06:11:33 +08:00
Piotr Tabor
9451a41d90 Merge pull request #13560 from ahrtr/protect_invalid_client_api_version
Add protection code to prevent etcd from panic when the client api version is not valid UTF-8 string
2022-01-17 20:09:59 +01:00
Piotr Tabor
271daa204d Merge pull request #13614 from ptabor/20220217-update-yaml
Update dep: gopkg.in/yaml.v2 v2.2.8 -> v2.4.0 due to: CVE-2019-11254
2022-01-17 20:07:33 +01:00
Piotr Tabor
2d7bc2f59e Merge pull request #13561 from horizonzy/code-clean
Code clean: make rangeKeys close to storeTxnRead.
2022-01-17 16:55:05 +01:00
Piotr Tabor
fdd98477ef Update dep: require gopkg.in/yaml.v2 v2.2.8 -> v2.4.0 due to: CVE-2019-11254 2022-01-17 16:52:58 +01:00
Piotr Tabor
22f142a9f5 Merge pull request #13603 from AdamKorcz/fuzz3
raft: fix out-of-bounds in maybeAppend
2022-01-17 16:11:46 +01:00
lixd
23f3bdd184 Empty Commit for CI 2022-01-17 19:04:40 +08:00
AdamKorcz
7ef4fe3288 raft: fix out-of-bounds in maybeAppend 2022-01-17 10:01:46 +00:00
horizonzy
5b09de33a5 code clean: make rangeKeys close to storeTxnRead. 2022-01-17 11:12:25 +08:00
ahrtr
f8aafea504 add protection code to prevent etcd from panic when the client api version is not valid UTF-8 2022-01-17 06:21:22 +08:00
Piotr Tabor
28b9089de9 Merge pull request #13607 from Jille/log-method
client: retry_interceptor.go: Log the method that failed
2022-01-16 17:02:29 +01:00
Piotr Tabor
87408d6f88 Merge pull request #13605 from ahrtr/fix_ci_test_386
Use test.sh instead of test for linux-386-unit-1-cpu
2022-01-16 16:47:56 +01:00