1635 Commits

Author SHA1 Message Date
Benjamin Wang
301c74c688
Merge pull request #17932 from sharathsivakumar/shsi/dep_2
Manually bump dependencies
2024-05-04 20:09:12 +01:00
Sharath Sivakumar
813e0865fe
bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc from 1.25.0 to 1.26.0
Signed-off-by: Sharath Sivakumar <mailssr9@gmail.com>
2024-05-03 21:43:03 +02:00
Benjamin Wang
36414cb0b8
Merge pull request #17930 from jamesreprise/bootstraped
Fix typo bootstrapedCluster
2024-05-03 18:07:49 +01:00
Sharath Sivakumar
82113ab066
dependency: bump go.opentelemetry.io/otel/trace from 1.25.0 to 1.26.0
Signed-off-by: Sharath Sivakumar <mailssr9@gmail.com>
2024-05-03 18:27:52 +02:00
Benjamin Wang
13c0f75b7d
Merge pull request #17877 from tjungblu/17872_status
add quota to endpoint status response
2024-05-03 13:03:23 +01:00
James Williams
ccb4ef76e3
typo: bootstrapedCluster -> bootstrappedCluster
Signed-off-by: James Williams <james.williams@griffin.com>
2024-05-03 11:34:55 +01:00
Marcus Efraimsson
030066cdb2 Chore: Use chain interceptors from grpc package
Signed-off-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
2024-05-01 22:26:50 +02:00
Benjamin Wang
d31caaec4a
Merge pull request #17793 from mneverov/fix-quorum-check
Fix remove member failed.
2024-04-30 19:52:14 +01:00
Benjamin Wang
09f7d7ab92
Merge pull request #17875 from ivanvc/fix-deprecation-comments-added-with-var-naming-lint-rule
Fix deprecation comments from addressing var-naming work
2024-04-30 19:51:37 +01:00
Jes Cok
dafadd13c1 all: don't convert byte slice to string when using verb %s
This is unnecessary, as the documentation for 'go doc fmt' says:
%s the uninterpreted bytes of the string or slice

Signed-off-by: Jes Cok <xigua67damn@gmail.com>
2024-04-25 23:34:52 +08:00
Thomas Jungblut
bdcff246cb add quota to endpoint status response
This adds the configured backend quota bytes to the endpoint status response.
related discussion in #17821

Signed-off-by: Thomas Jungblut <tjungblu@redhat.com>
2024-04-25 16:44:20 +02:00
Benjamin Wang
d876d1c33e
Merge pull request #17834 from callthingsoff/tcpproxy_remove_formatAddr
server/proxy/tcpproxy: use net.JoinHostPort rather than formatAddr
2024-04-25 07:29:01 +01:00
Ivan Valdes
242f5d60a8
Fix deprecation comments from addressing var-naming work
The deprecation tag/comment must to be followed by an empty line.

Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-04-24 14:40:59 -07:00
Marek Siarkowicz
7af778b913
Merge pull request #17860 from siyuanfoundation/refactor
fix version order when calling IsValidClusterVersionChange in UpdateCapability
2024-04-24 13:26:40 +02:00
Marek Siarkowicz
dc9cfd6889
Merge pull request #17862 from fuweid/update-rev-in-revMu
server/storage/mvcc: should update currentRev in revMu
2024-04-24 13:21:20 +02:00
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
Wei Fu
94c83a962b server/storage/mvcc: should update currentRev in revMu
Signed-off-by: Wei Fu <fuweid89@gmail.com>
2024-04-24 11:08:33 +08:00
Siyuan Zhang
379a8b79fb fix version order when calling IsValidClusterVersionChange in UpdateCapability.
Signed-off-by: Siyuan Zhang <sizhang@google.com>
2024-04-23 09:31:19 -07: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
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
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
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
Jes Cok
a2156a0f9c server/proxy/tcpproxy: use net.JoinHostPort rather than formatAddr
formatAddr is just like net.JoinHostPort, I think we can use net.JoinHostPort
directly, it's simpler and clearer.

Signed-off-by: Jes Cok <xigua67damn@gmail.com>
2024-04-21 23:28:51 +08: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
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
0b7bae2a34
Merge pull request #17816 from callthingsoff/simplify_isValidPermissionRange
server/auth: simplify code for isValidPermissionRange
2024-04-20 09:16:15 +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
Max Neverov
c2982e15f3 Revert checking connected since inclusively.
Signed-off-by: Max Neverov <neverov.max@gmail.com>
2024-04-18 11:26:28 +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
Max Neverov
c64c996c03 Revert quorum calculation: (active - 1) < 1+((len(m)-1)/2) calculates quorum after a member is deleted.
Signed-off-by: Max Neverov <neverov.max@gmail.com>
2024-04-17 07:55:24 +02:00
Max Neverov
3b16aae947 Fix remove member failed.
Signed-off-by: Max Neverov <neverov.max@gmail.com>
2024-04-17 07:55:24 +02:00
Benjamin Wang
a54098dee3 Update the compaction log when bootstrap and update compact's signature
Actually the compact() never return an error, so remove the second return
parameter.

Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2024-04-15 14:16:18 +01:00
Benjamin Wang
9ac964d1cc Add verification that the revision shouldn't decrease on bootstrap
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2024-04-15 13:56:19 +01:00
Benjamin Wang
9420f27ea9
Merge pull request #17762 from Fube/better-prevote-doc
etcdserver: updated pre-vote flag description
2024-04-13 08:31:58 +01:00
Jes Cok
ecb52d7d48 server/etcdmain: eliminate deprecated tlsConfig.BuildNameToCertificate()
As the doc is saying:

Deprecated: NameToCertificate only allows associating a single certificate
with a given name. Leave that field nil to let the library select the first
compatible chain from Certificates.

Signed-off-by: Jes Cok <xigua67damn@gmail.com>
2024-04-13 11:46:58 +08:00
Fube
cf66d0f64f etcdserver: updated pre-vote flag description
To better communicate what the pre-vote phase in Raft is.

Signed-off-by: Fube <fubeitch@gmail.com>
2024-04-12 17:14:19 -04:00
Chun-Hung Tseng
ecfc139f06
dependency: bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc from 1.24.0 to 1.25.0
Reference:
- https://github.com/etcd-io/etcd/pull/17748

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-04-11 07:49:18 +02:00
Chun-Hung Tseng
c8628919bb
dependency: bump google.golang.org/grpc from 1.63.0 to 1.63.2
Reference:
- https://github.com/etcd-io/etcd/pull/17766
- https://github.com/etcd-io/etcd/pull/17765

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-04-10 09:55:21 +02:00
Chun-Hung Tseng
ebeb5bb80e
dependency: bump go.opentelemetry.io/proto/otlp from v1.1.0 to v1.2.0
References:
- https://github.com/etcd-io/etcd/pull/17750

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-04-09 12:24:57 +02:00