ad3b6ee4c6
etcdserver: wait for raft is notified on confChange before responding to client
...
Signed-off-by: Benjamin Wang <wachao@vmware.com >
2023-06-26 13:40:51 -07:00
1967b8e5e6
Merge pull request #16086 from CaojiamingAlan/applier_test
...
etcdserver: add tests for apply_auth.go
2023-06-26 12:20:05 +02:00
3e725aceef
Merge pull request #16128 from sharathsivakumar/shsi/bump_dependency_wip
...
Manual dependency Bump
2023-06-23 17:14:11 +01:00
11aa59c42d
etcdserver: add tests for apply_auth.go
...
Signed-off-by: caojiamingalan <alan.c.19971111@gmail.com >
2023-06-23 10:58:30 -05:00
b92981606a
dependency: bump github.com/prometheus/client_golang v1.15.1 to v1.16.0
...
Signed-off-by: sharathsivakumar <mailssr9@gmail.com >
2023-06-23 16:39:09 +02:00
c8247731a2
Merge pull request #16099 from chaochn47/enable_failpoint_in_integration_test
...
Enable failpoint in integration test
2023-06-23 13:15:08 +01:00
6d79b86219
Enable failpoint by default in integration tests
...
Signed-off-by: Chao Chen <chaochn@amazon.com >
2023-06-21 23:13:46 -07:00
04d24c2128
Merge pull request #16100 from geetasg/pr4
...
Verify consistent index is latest at the time of snapshot
2023-06-22 07:10:23 +01:00
550aa152a7
Verify consistent index is latest at the time of snapshot
...
Signed-off-by: Geeta Gharpure <geetagh@amazon.com >
2023-06-19 16:00:04 +00:00
b92d099360
dependency: bump golang.org/x/net from 0.10.0 to 0.11.0
...
Signed-off-by: Benjamin Wang <wachao@vmware.com >
2023-06-19 09:25:07 +01:00
cb3730a30f
Merge pull request #16005 from tjungblu/putauthshort
...
Early exit auth check on lease puts
2023-06-16 08:33:57 +02:00
84a9af17cc
Add first unit test for authApplierV3
...
This contains a slight refactoring to expose enough information
to write meaningful tests for auth applier v3.
Signed-off-by: Thomas Jungblut <tjungblu@redhat.com >
2023-06-15 15:57:44 +02:00
3a8c6d749f
manual dependency bump
...
Signed-off-by: Prasad Chandrasekaran <prasadc@vmware.com >
2023-06-13 23:28:47 +05:30
c104a4d01b
Merge pull request #16031 from kkkkun/add_experimental_hash_check_to_help
...
add experimental-compact-hash-check-enabled to help
2023-06-12 16:03:30 +08:00
20c4247d2c
Merge pull request #16037 from chaochn47/uds_e2e_test
...
add uds test cases into e2e TestAuthority
2023-06-12 14:45:59 +08:00
e6c8bf82e0
add uds test cases into e2e TestAuthority
...
Signed-off-by: Chao Chen <chaochn@amazon.com >
2023-06-08 15:54:30 -07:00
798d2b7923
add compact hash check to help
...
Signed-off-by: scuzk373x@gmai.com <zhuanwajiang@pinduoduo.com >
2023-06-08 14:29:57 +08:00
6c5fde5138
Merge pull request #15985 from CaojiamingAlan/check_revision_before_write_hash
...
Check ScheduledCompactKeyName and FinishedCompactKeyName before writing hash
2023-06-08 10:10:45 +08:00
b9e30bf878
etcdserver: add e2e test to reproduce the incorrect hash issue when resuming scheduled compaction.
...
check ScheduledCompactKeyName and FinishedCompactKeyName
before writing hash to hashstore. If they do not match, then it means this compaction has once been interrupted and its hash value is invalid. In such cases, we won't write the hash values to the hashstore, and avoids the incorrect corruption alarm.
Signed-off-by: caojiamingalan <alan.c.19971111@gmail.com >
2023-06-07 19:54:09 -05:00
b2c39fc8e6
2023-06-06: bump up dependencies update identified by dependabot
...
Signed-off-by: Chao Chen <chaochn@amazon.com >
2023-06-06 20:18:44 -07:00
dfbe2038f3
Early exit auth check on lease puts
...
Mitigates #15993 by not checking each key individually for permission
when auth is entirely disabled or admin user is calling the method.
Signed-off-by: Thomas Jungblut <tjungblu@redhat.com >
2023-06-06 10:23:46 +02:00
3413f2e08d
Merge pull request #15908 from cuishuang/main
...
*: use strings.Builder instead of bytes.Buffer
2023-05-26 09:41:01 +08:00
cdd9846b56
Merge pull request #15947 from chaochn47/hash_doc
...
update code comments
2023-05-25 18:44:49 +08:00
ef91e8ae78
dependency: bump github.com/stretchr/testify from 1.8.2 to 1.8.3
...
Signed-off-by: Bogdan Kanivets <bkanivets@apple.com >
2023-05-24 23:58:13 -07:00
9e1e378e9e
update code comments
...
Signed-off-by: Chao Chen <chaochn@amazon.com >
2023-05-24 12:54:27 -07:00
0c919dc212
use the more efficient strings.Builder
...
Signed-off-by: cui fliter <imcusg@gmail.com >
2023-05-19 10:44:58 +08:00
19ec574f45
Merge pull request #15915 from hexfusion/bytes
...
server/storage/schema: prefer equal to compare for equality comparisons
2023-05-18 10:53:42 +08:00
a708e94749
server/storage/schema: prefer equal to compare for equality comparisons
...
Signed-off-by: Sam Batschelet <sbatschelet@gmail.com >
2023-05-16 21:25:34 -04:00
5a5b5a1c5d
dependency: bump github.com/prometheus/client_golang from 1.15.0 to 1.15.1
...
Signed-off-by: James Blair <mail@jamesblair.net >
2023-05-16 09:26:44 +12:00
1798730cd8
dependency: bump golang.org/x/crypto from 0.8.0 to 0.9.0
...
Signed-off-by: James Blair <mail@jamesblair.net >
2023-05-16 08:39:19 +12:00
2df32102ca
Merge pull request #15835 from yellowzf/grpcproxy_fix_memberlist_results_not_update_when_proxy_node_down
...
grpcproxy: fix memberlist results not update when proxy node down
2023-05-15 13:34:05 +08:00
ca221208d2
grpcproxy: fix memberlist results not update when proxy node down
...
If start grpc proxy with --resolver-prefix, memberlist will return all alive proxy nodes, when one grpc proxy node is down, it is expected to not return the down node, but it is still return
Signed-off-by: yellowzf <zzhf3311@163.com >
2023-05-15 10:59:02 +08:00
67ec1a4d30
Merge pull request #15862 from pchan/bump_dependency
...
dependency: bump dependabot dependencies
2023-05-12 06:59:47 +08:00
05b663fbe8
Merge pull request #15828 from chaochn47/add_leadership_transfer_coverage
...
tests/e2e: add graceful shutdown test
2023-05-11 07:39:25 +08:00
f31d0eafb9
tests/e2e: add graceful shutdown test
...
Signed-off-by: Chao Chen <chaochn@amazon.com >
2023-05-09 17:08:53 -07:00
b404d25d84
Merge pull request #15741 from AngstyDuck/set-default-value-for-AutoCompactionMode
...
server: default value for config file field auto-compaction-mode is n…
2023-05-10 05:44:16 +08:00
a7344da7d3
server: default value for config file field auto-compaction-mode is now 'periodic'; added additional checks if auto-compaction-mode is undefined
...
Signed-off-by: AngstyDuck <solsticedante@gmail.com >
2023-05-09 23:10:44 +08:00
c863f1f8c0
dependency: bump dependabot dependencies
...
Signed-off-by: Prasad Chandrasekaran <prasadc@vmware.com >
2023-05-09 18:38:35 +05:30
b7ad0382ad
Merge pull request #15844 from mitake/style
...
server/etcdserver: swap order of return types
2023-05-09 06:34:34 +08:00
a0cffb6a1f
server/etcdserver: swap order of return types
...
Signed-off-by: Hitoshi Mitake <h.mitake@gmail.com >
2023-05-08 22:53:04 +09:00
0cd1b7beaa
log time when open backend db took too long
...
Signed-off-by: qsyqian <qsyqian@gmail.com >
2023-05-08 15:23:29 +08:00
49b59cc8e5
Merge pull request #15656 from mitake/lease-timetolive-auth
...
protect LeaseTimeToLive with RBAC
2023-05-02 23:02:29 +09:00
0deaec0e4f
Merge pull request #15762 from aimuz/fix-logger
...
refactor(util): remove duplicate lg check
2023-04-30 05:52:11 +08:00
b052092297
refactor(util): remove duplicate lg check
...
lg always has a value
Signed-off-by: aimuz <mr.imuz@gmail.com >
2023-04-28 10:43:30 +08:00
6d11f8ceb5
Merge pull request #15785 from Mskxn/fix_session
...
close the session to avoid leak goroutine
2023-04-27 04:24:17 +08:00
26fdf46001
close the session to avoid leak goroutine
...
Signed-off-by: Mskxn <118117161+Mskxn@users.noreply.github.com >
2023-04-26 20:45:13 +08:00
975854f07f
etcdserver: protect lease timetilive with auth
...
Signed-off-by: Hitoshi Mitake <h.mitake@gmail.com >
Co-authored-by: Benjamin Wang <wachao@vmware.com >
2023-04-26 20:35:20 +09:00
8c5e9ad455
Merge pull request #15759 from fuweid/deflake-TestAuthMemberRemove
...
server/etcdserver: togRPCError for maintenance API
2023-04-25 09:26:28 +08:00
211b4320c3
Merge pull request #15752 from sharathsivakumar/main
...
fixes for "improve description of --initial-cluster-state flag" #15743
2023-04-23 07:17:37 +08:00
32c83becf5
fix review: Updated description of --initial-cluster-state flag
...
Signed-off-by: sharathsivakumar <mailssr9@gmail.com >
2023-04-22 23:16:33 +02:00