bdb13e2e12
Merge pull request #13681 from AdamKorcz/fuzz5
...
server/storage/mvcc: fix oss-fuzz issue 44449
2022-02-13 19:35:21 +01: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
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
1713dc67b5
etcd server shouldn't wait for the ready notification infinitely on startup
2022-01-27 16:19:20 +08:00
4bfcd84259
server: Handle V2Request when analysis WAL entries
2022-01-26 15:50:14 +01:00
d865bb96f1
server: Refactor wal version to use visitor pattern
2022-01-26 15:50:14 +01:00
6d808e5d7d
*: Add static validation to etcd_version proto annotation
2022-01-26 15:50:14 +01:00
692b3c4cd7
server: Remove most of V2 API
2022-01-25 15:24:13 +01:00
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
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
17568a19f4
Merge pull request #13568 from horizonzy/avoid-always-put-metaterm
...
Avoid always update meta term.
2022-01-22 16:02:50 +01:00
87c8e8b868
test: Migrate to ClusterV3 cluster in integration tests
2022-01-20 14:10:09 +01:00
282e4e6e88
make code more readable.
2022-01-19 22:24:49 +08:00
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
15568f4c00
add protection code for Range when the sortTarget is an invalid value
2022-01-18 07:46:37 +08:00
8d8247b092
format listenning address correctly for IPv6 ip address
2022-01-18 06:11:33 +08:00
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
5b09de33a5
code clean: make rangeKeys close to storeTxnRead.
2022-01-17 11:12:25 +08:00
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
f4266e2d75
Merge pull request #13575 from AdamKorcz/fuzz1
...
v2auth: fix out of bounds in test
2022-01-15 23:30:10 -05:00
1d706179be
mvcc: add test-case
...
a test-case for new code-path.
2022-01-16 10:43:15 +08:00
b8c5d44a1d
Merge pull request #13382 from ahrtr/public_key_match_issue
...
The public key doesn't match if any field doesn't match
2022-01-15 17:14:02 +01:00
1237b3576c
Merge pull request #13487 from mrueg/go-1.17.3
...
*: Bump to go 1.17.6
2022-01-15 17:01:17 +01:00
0285f74aea
Merge pull request #13558 from gfuzz-asplos/main
...
fixing goroutine leaks
2022-01-15 16:58:19 +01:00
b2f6ffdd81
Merge pull request #13595 from serathius/enable-v2
...
server: --enable-v2 and --enable-v2v3 is decomissioned
2022-01-15 16:48:29 +01:00
401cc1a575
mvcc: add a fast return at put method
...
return when two leaseID is equal, avoid invalid operations.
Fixes #13600
2022-01-15 13:16:44 +08:00
f75549d53b
Merge pull request #13571 from yank1/update-cobra-version
...
Update Cobra version to 1.2.1
2022-01-14 14:54:28 +01:00
68fa5dcf99
Merge pull request #13549 from songlh-psu/main
...
fixing the goroutine leaks in TestHashKVWhenCompacting
2022-01-14 13:58:16 +01:00
ee5ef42c5c
server: --enable-v2 and --enable-v2v3 is decomissioned
2022-01-14 13:19:30 +01:00
e0a0fdc984
Merge pull request #13572 from microyahoo/update_lease_tools
...
update dump db tool
2022-01-12 10:33:28 +01:00
cf7e8b3535
go.mod: Bump golang.org/x/net dependency; regenerate go.sum
...
Bumps golang.org/x/net dependency due to fix CVE-2021-44716
as requested in https://github.com/etcd-io/etcd/pull/13487#issuecomment-997065540
Signed-off-by: Manuel Rüger <manuel@rueg.eu >
2022-01-12 03:00:08 +01:00
6aac35dd32
v2auth: fix out of bounds in test
2022-01-10 19:06:07 +00:00
a9652b4b4e
fixing the leaks in TestStressWatchCancelClose
2022-01-04 17:57:19 -05:00
0cc789d81d
update dump db tool
...
Signed-off-by: Liang Zheng <zhengliang0901@gmail.com >
2022-01-01 00:13:33 +08:00
17fd2e7282
Disable auth gracefully without impacting existing watchers
...
This attempts to fix a special case of the problem described in #12385 ,
where trying to do `clientv3.Watch` with an expired token would result
in `ErrGRPCPermissionDenied`, due to the failing authorization check in
`isWatchPermitted`. Furthermore, the client can't auto recover, since
`shouldRefreshToken` rightly returns false for the permission denied
error.
In this case, we would like to have a runbook to dynamically disable
auth, without causing any disruption. Doing so would immediately expire
all existing tokens, which would then cause the behavior described
above. This means existing watchers would still work for a period of
time after disabling auth, until they have to reconnect, e.g. due to a
rolling restart of server nodes.
This commit adds a client-side fix and a server-side fix, either of
which is sufficient to get the added test case to pass. Note that it is
an e2e test case instead of an integration one, as the reconnect only
happens if the server node is stopped via SIGINT or SIGTERM.
A generic fix for the problem described in #12385 would be better, as
that shall also fix this special case. However, the fix would likely be
a lot more involved, as some untangling of authn/authz is required.
2021-12-31 14:39:46 +07:00
77bf0a5a9e
update cobra version to 1.2.1
...
Signed-off-by: yankay <kay.yan@daocloud.io >
2021-12-29 17:35:25 +08:00
97d1f935f6
avoid always update meta term.
2021-12-29 11:23:38 +08:00
98b0d901e8
fixing goroutine leaks
2021-12-24 15:57:38 -05:00
a45c73d9b1
resolve the conflict
2021-12-21 17:49:47 -05:00
69279532f4
Merge pull request #13540 from songlh-psu/fixing-3
...
fixing one panic and two goroutine leaks
2021-12-21 11:03:59 +01:00
5b0bb07cb0
Merge pull request #13500 from ahrtr/reset_ci_after_reload_db
...
Set the backend again after recovering v3 backend from snapshot
2021-12-21 10:50:30 +01:00
246e7eba09
fixing the goroutine in two unit tests
2021-12-21 04:46:39 -05:00
5e8f50bb09
remove the extra stop
2021-12-17 20:03:19 -05:00
0098dbf350
fixing two goroutine leaks and one panic
2021-12-15 22:38:25 -05:00
3ebd0a7d00
fixing the goroutine leak in TestBackendClose
2021-12-15 01:54:51 -05:00
29292aa7bd
Merge pull request #13505 from LeoYang90/fix_watchable_runlock
...
fix watchablestore runlock bug
2021-12-03 12:21:30 +01:00