21224 Commits

Author SHA1 Message Date
Marek Siarkowicz
5cbc8c950e
Merge pull request #17841 from henrybear327/dependencies/04_22_2024
[2024-04-22] Bump dependency updates identified by dependabot
2024-04-24 09:24:00 +02:00
Marek Siarkowicz
68c2d5cd0b
Merge pull request #17859 from siyuanfoundation/changelog
Update 3.4 changelog for 2 new downgrade cases.
2024-04-24 09:18:04 +02:00
Siyuan Zhang
da7047356e Update 3.4 changelog for 2 new downgrade cases.
Signed-off-by: Siyuan Zhang <sizhang@google.com>
2024-04-23 09:27:52 -07:00
Marek Siarkowicz
c2a3ca62c7
Merge pull request #17856 from serathius/robustness-datadir-lazyfs
Persist member data with lazyfs enabled
2024-04-23 13:45:30 +02:00
Benjamin Wang
94b155a1c9
Merge pull request #17854 from ivanvc/address-server-config-var-naming-lint-rule
server/config: address golangci var-naming issues
2024-04-23 10:17:24 +01:00
Benjamin Wang
d7ac201fbf
Merge pull request #17832 from ahrtr/changelog_compact_20240421
Update the changelog for the change on compaction log on boostrap
2024-04-23 09:51:08 +01:00
Marek Siarkowicz
9fcde37447 Persist member data with lazyfs enabled
Discovered turning off LazyFS before creating the report might result in
empty server directory. This PR moves cluster shutdown to defer executed
after we generate report and copies the data from lazyfs directory.

Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2024-04-23 10:19:05 +02:00
Marek Siarkowicz
ca39df1cd3
Merge pull request #17847 from siyuanfoundation/refactor
refactor IsValidVersionChange.
2024-04-23 09:25:28 +02:00
Ivan Valdes
a2bf8d7e80
server/config: address golangci var-naming issues
Addresses issues in V2 Deprecation constant names.

Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-04-22 17:12:15 -07:00
Chun-Hung Tseng
b010ae0b18
dependency: bump github.com/alexfalkowski/gocovmerge from 1.2.6 to 1.3.4
Reference:
- https://github.com/etcd-io/etcd/pull/17845

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-04-22 19:44:58 +02:00
Chun-Hung Tseng
45eb0110b6
dependency: bump golang.org/x/sync from 0.6.0 to 0.7.0
Reference:
- https://github.com/etcd-io/etcd/pull/17848

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-04-22 19:44:58 +02:00
Chun-Hung Tseng
f696c4c749
dependency: bump github.com/prometheus/common from 0.52.3 to 0.53.0
References:
- https://github.com/etcd-io/etcd/pull/17839
- https://github.com/etcd-io/etcd/pull/17840

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-04-22 19:44:58 +02:00
Siyuan Zhang
b6b7a1a3b6 refactor IsValidVersionChange.
Signed-off-by: Siyuan Zhang <sizhang@google.com>
2024-04-22 10:27:54 -07:00
Benjamin Wang
dd4e35a585
Merge pull request #17815 from fuweid/repro-17780
[RFC] fix revision loss issue caused by compaction - 17780
2024-04-22 18:15:44 +01:00
Marek Siarkowicz
062a0ea057
Merge pull request #17825 from serathius/robustness-qps
Don't require minimal for failpoint injection period
2024-04-22 19:03:42 +02:00
Marek Siarkowicz
7d1d4cb3a9
Merge pull request #17835 from serathius/robustness-watch-error
Handle watch responses with error
2024-04-22 14:44:00 +02:00
Benjamin Wang
3469254e26
Merge pull request #17836 from sharathsivakumar/shsi/deps_1
Manually bump dependencies
2024-04-22 12:26:27 +01:00
Benjamin Wang
29529c505b
Merge pull request #17791 from ahrtr/verify_revision_bootstrap_20240415
Add verification that the revision shouldn't decrease on bootstrap
2024-04-22 10:43:01 +01:00
Sharath Sivakumar
9e938abd91
dependency: bump golang.org/x/net from 0.23.0 to 0.24.0
Signed-off-by: Sharath Sivakumar <mailssr9@gmail.com>
2024-04-21 23:14:29 +02:00
Sharath Sivakumar
80c5690bb9
dependency: bump go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc from 0.49.0 to 0.50.0
Signed-off-by: Sharath Sivakumar <mailssr9@gmail.com>
2024-04-21 22:58:17 +02:00
Sharath Sivakumar
a392758755
dependency: bump github.com/prometheus/client_model from 0.6.0 to 0.6.1
Signed-off-by: Sharath Sivakumar <mailssr9@gmail.com>
2024-04-21 22:54:47 +02:00
Sharath Sivakumar
81d7b2cb3d
dependency: bump github.com/prometheus/common from 0.51.1 to 0.52.3
Signed-off-by: Sharath Sivakumar <mailssr9@gmail.com>
2024-04-21 22:46:41 +02:00
Marek Siarkowicz
fa9e9504ad Handle watch responses with error
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2024-04-21 20:49:49 +02:00
Marek Siarkowicz
a097a3b39d
Merge pull request #17810 from serathius/robustness-revisions-between-progress
Validate revisions between progress notify
2024-04-21 20:04:25 +02:00
Benjamin Wang
2b1be8fd85 update the changelog for the change on compaction log on boostrap
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2024-04-21 13:27:06 +01:00
Benjamin Wang
6cbaa1f441
Merge pull request #17792 from ahrtr/update_compact_log_bootstrap_20240415
Update the compaction log when bootstrap and update compact's signature
2024-04-21 13:09:12 +01:00
Wei Fu
9ea234913a server/storage: update currentRev if scheduledCompact > currentRev
Signed-off-by: Wei Fu <fuweid89@gmail.com>
2024-04-21 18:12:38 +08:00
Wei Fu
7173391154 tests/e2e: reproduce #17780
Signed-off-by: Wei Fu <fuweid89@gmail.com>
2024-04-21 18:12:00 +08:00
Benjamin Wang
2674f94c47
Merge pull request #17820 from ivanvc/address-server-embed-var-naming-lint-rule-pt2
server/embed: address golangci var-naming issues
2024-04-20 18:36:52 +01:00
Marek Siarkowicz
f285330d46 Don't require minimal for failpoint injection period
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2024-04-20 10:34:51 +02:00
Marek Siarkowicz
0b7bae2a34
Merge pull request #17816 from callthingsoff/simplify_isValidPermissionRange
server/auth: simplify code for isValidPermissionRange
2024-04-20 09:16:15 +02:00
Marek Siarkowicz
964680c8d0 Validate delivery of events between progress notifies
Simplifying bookmarkable to just validate revision order between events
and progress notifies.

Use reliable to validate if events are missing, but still report
broken resumable if first event after revision is missing. It's easier
to have one place that validates event slices.

Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2024-04-19 10:42:54 +02:00
Ivan Valdes
2e5188f618
server/embed: address golangci var-naming issues
Addresses issues in ListenPeerUrls, ListenClientUrls,
ListenClientHttpUrls, AdvertisePeerUrls, AdvertiseClientUrls.

Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-04-18 08:30:39 -06:00
Benjamin Wang
e246bb8d4d
Merge pull request #17819 from henrybear327/changelog/ignore-raft-messages-if-member-id-mismatch
Update CHANGELOG 3.4 and 3.5 - ignore raft messages if member id mismatch
2024-04-18 13:27:46 +01:00
Chun-Hung Tseng
b173a603b5
Update CHANGELOG 3.4 and 3.5 - ignore raft messages if member id mismatch
Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-04-18 11:03:10 +02:00
Marek Siarkowicz
d492b41bd0
Merge pull request #17674 from ivanvc/address-server-embed-var-naming-lint-rule
server/embed: address golangci var-naming issues
2024-04-18 09:10:05 +02:00
Ivan Valdes
0a1bc1208f
server/embed: address golangci var-naming issues
Addresses issues in TLSMinVersion, TLSMaxVersion, WALDir, and
MaxWALFiles.

Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-04-17 16:33:28 -06:00
Jes Cok
aafe229510 server/auth: simplify code for isValidPermissionRange
Not a big deal, but to make this function clearer.

Signed-off-by: Jes Cok <xigua67damn@gmail.com>
2024-04-18 02:38:19 +08:00
Marek Siarkowicz
e37a67e40b
Merge pull request #17787 from callthingsoff/eliminate_tls.Config.NameToCertificate
server/etcdmain: eliminate deprecated tlsConfig.BuildNameToCertificate()
2024-04-17 10:19:45 +02:00
Marek Siarkowicz
5a8c8b703b
Merge pull request #17807 from serathius/robustness-resumable-revision-zero
Resumable handles watch with revision zero
2024-04-16 19:41:53 +02:00
Marek Siarkowicz
2ff45f8fc6
Merge pull request #17771 from serathius/robustness-bookmarkable
Validate bookmarkable checks the last event before progress notify
2024-04-16 10:02:08 +02:00
Marek Siarkowicz
dc187ce6e8 Validate bookmarkable checks the last event before progress notify
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2024-04-16 09:17:40 +02:00
Marek Siarkowicz
6f6647271f
Merge pull request #17806 from serathius/robustness-watch-filter
Add filter validation to ensure watch only includes events within selector
2024-04-16 08:52:25 +02:00
Marek Siarkowicz
d435284457
Merge pull request #17809 from coderwander/main
tests: fix some typos in comments
2024-04-16 08:48:18 +02:00
Benjamin Wang
dc3685281e
Merge pull request #17805 from etcd-io/dependabot/github_actions/github/codeql-action-3.25.0
build(deps): bump github/codeql-action from 3.24.10 to 3.25.0
2024-04-16 07:31:36 +01:00
coderwander
842a0f3a35 tests: fix some typos in comments
Signed-off-by: coderwander <770732124@qq.com>
2024-04-16 13:59:41 +08:00
Marek Siarkowicz
94a47a7cbd Resumable handles watch with revision zero
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2024-04-15 20:23:51 +02:00
Marek Siarkowicz
042e7d1a0c Add filter validation to ensure watch only includes events within selector
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2024-04-15 20:05:08 +02:00
dependabot[bot]
6926374213
build(deps): bump github/codeql-action from 3.24.10 to 3.25.0
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.24.10 to 3.25.0.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](4355270be1...df5a14dc28)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-15 17:28:56 +00:00
Marek Siarkowicz
0cd5999b78
Merge pull request #17786 from serathius/robustness-watch-validation-tests
Add tests to watch validation
2024-04-15 16:14:38 +02:00