Edwin Xie
fc8568a435
nit: Fix trailing whitespace in etcdmain/help.go
...
Signed-off-by: Edwin Xie <edwin.xie@broadcom.com>
2024-04-01 22:25:05 +00:00
Benjamin Wang
cc32fa8559
Merge pull request #17618 from Akiqqqqqqq/feature-wal-write-metric
...
feat: add wal write system call metrics observation (main)
2024-03-31 16:54:20 +01:00
Marek Siarkowicz
a25497e97d
Merge pull request #17660 from ivanvc/address-server-storage-var-naming-lint-rule
...
server/storage: address golangci var-naming issues
2024-03-29 10:02:25 +01:00
Marek Siarkowicz
a22ae624ef
Merge pull request #17263 from siyuanfoundation/txBuf1
...
Fix tx buffer inconsistency if there are unordered key writes in one tx.
2024-03-28 12:08:18 +01:00
Ivan Valdes
d43738a49b
server/storage: address golangci var-naming issues
...
Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-03-27 10:12:42 -07:00
Siyuan Zhang
0a54362cca
add key dedupe when a write buffer writeback to an empty read buffer bucket.
...
Signed-off-by: Siyuan Zhang <sizhang@google.com>
2024-03-27 17:03:31 +00:00
Siyuan Zhang
7be3606841
Add tx buffer test case of unordered key writes.
...
Signed-off-by: Siyuan Zhang <sizhang@google.com>
2024-03-27 17:03:31 +00:00
Siyuan Zhang
4346a43cee
Add benchmark tests for buffer writeback function.
...
Signed-off-by: Siyuan Zhang <sizhang@google.com>
2024-03-27 17:03:26 +00:00
Qiuyu Wu
97efc2ade4
feat: observe wal write at one time
...
Signed-off-by: Qiuyu Wu <qiuyu.wu@shopee.com>
2024-03-26 17:26:02 +08:00
Ivan Valdes
139d9c28bd
dependency: bump github.com/prometheus/common from 0.50.0 to 0.51.1
...
Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-03-25 14:42:13 -07:00
Benjamin Wang
e4448c4744
Merge pull request #17634 from callthingsoff/httpresponse_close_after_read
...
all: call Close() after reading http.Response.Body
2024-03-25 07:03:54 +00:00
Jes Cok
bc31162cc2
all: call Close() after reading http.Response.Body
...
As the doc of http.Response.Body says:
// The http Client and Transport guarantee that Body is always
// non-nil, even on responses without a body or responses with
// a zero-length body. It is the caller's responsibility to
// close Body.
Signed-off-by: Jes Cok <xigua67damn@gmail.com>
2024-03-25 12:17:47 +08:00
thirdkeyword
fbda591866
fix some typos
...
Signed-off-by: thirdkeyword <fliterdashen@gmail.com>
2024-03-25 10:34:44 +08:00
Benjamin Wang
9359aef3e3
Merge pull request #17620 from jmhbnz/weekly-dependency-update
...
[2023-03-18] Weekly dependency update
2024-03-21 14:24:45 +01:00
James Blair
7b7e2e29da
dependency: bump go.uber.org/zap from 1.26.0 to 1.27.0.
...
Signed-off-by: James Blair <mail@jamesblair.net>
2024-03-22 01:41:57 +13:00
James Blair
0cf5da62c9
dependency: bump go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc from 0.48.0 to 0.49.0.
...
Signed-off-by: James Blair <mail@jamesblair.net>
2024-03-22 01:22:58 +13:00
Ivan Valdes
66f56d71e4
server: address golangci var-naming issues
...
Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-03-20 21:12:12 -07:00
Benjamin Wang
97029d768a
Merge pull request #17614 from ivanvc/address-etcdserver-var-naming-lint-rule
...
etcdserver: address var naming lint rule
2024-03-19 22:40:03 +01:00
Ivan Valdes
14523bdc21
etcdserver: rename MemberId() to MemberID() to address var-naming
...
Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-03-18 17:18:29 -07:00
Ivan Valdes
c613b78e6c
etcdserver: address golangci var-naming issues
...
Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-03-18 17:17:07 -07:00
Benjamin Wang
8b9909e20d
Merge pull request #17585 from ivanvc/address-api-var-naming-lint-rule
...
api: address golangci var-naming issues
2024-03-16 11:23:46 +00:00
Ivan Valdes
2190b0f1c6
api: address golangci var-naming issues
...
Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-03-15 20:37:53 -07:00
Chao Chen
405862e807
Fix event loss after compaction
...
Signed-off-by: Chao Chen <chaochn@amazon.com>
2024-03-15 14:22:37 -07:00
Ivan Valdes
0024569c7c
dependency: bump github.com/stretchr/testify from 1.8.4 to 1.9.0
...
Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-03-11 11:50:27 -07:00
Ivan Valdes
3996eb5a3c
dependency: bump google.golang.org/grpc from 1.62.0 to 1.62.1
...
Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-03-11 11:41:17 -07:00
Ivan Valdes
7fae54b302
dependency: bump github.com/prometheus/common from 0.49.0 to 0.50.0
...
Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-03-11 11:32:03 -07:00
Marek Siarkowicz
ddf54715bf
Merge pull request #17557 from serathius/progressrequest-new-watch
...
Fix progress notification for watch that doesn't get any events
2024-03-11 15:42:13 +01:00
Marek Siarkowicz
6103504d4b
Fix progress notification for watch that doesn't get any events
...
When implementing the fix for progress notifications
(https://github.com/etcd-io/etcd/pull/15237 ) we made a incorrect
assumption that that unsynched watches will always get at least one event.
Unsynched watches include not only slow watchers, but also newly created
watches that requested current or older revision. In case that non of the events
match watch filter, those newly created watches might become synched
without any event going through.
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2024-03-11 12:11:09 +01:00
Ivan Valdes
0c6b6ac951
dependency: bump google.golang.org/protobuf from 1.32.0 to 1.33.0
...
Addresses CVE-2024-24786 (https://pkg.go.dev/vuln/GO-2024-2611 )
Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-03-07 09:13:28 -08:00
Ivan Valdes
04ef9dcef8
dependency: bump github.com/prometheus/common from 0.47.0 to 0.49.0
...
Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-03-07 09:13:28 -08:00
Ivan Valdes
60da279da4
dependency: bump go.opentelemetry.io/otel/sdk from 1.23.1 to 1.24.0
...
Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-03-07 09:13:28 -08:00
Allen Ray
bb4b70bbb2
Migrate to go1.22
...
Signed-off-by: Allen Ray <alray@redhat.com>
2024-03-06 17:15:36 -05:00
Dat Tien Nguyen
46d59a2e68
etcdserver: skip when detect a removed peer
...
Signed-off-by: Dat Tien Nguyen <phongtomfapp@gmail.com>
2024-03-04 21:22:19 +07:00
James Blair
e0955afa40
depdendency: bump google.golang.org/grpc from 1.61.1 to 1.62.0.
...
Signed-off-by: James Blair <mail@jamesblair.net>
2024-02-28 21:08:42 +13:00
James Blair
170948f681
depdendency: bump go.opentelemetry.io/otel from 1.23.1 to 1.24.0.
...
Signed-off-by: James Blair <mail@jamesblair.net>
2024-02-28 21:03:45 +13:00
Abhishek Kr Srivastav
fe113026fa
Increased timeout to fix HashKV test
...
Signed-off-by: Abhishek Kr Srivastav <Abhishek.kr.srivastav@ibm.com>
2024-02-23 15:58:57 +05:30
Siyuan Zhang
3565a822de
Add VerifyTxConsistency to backend.
...
Signed-off-by: Siyuan Zhang <sizhang@google.com>
Update server/storage/backend/verify.go
Co-authored-by: Benjamin Wang <benjamin.wang@broadcom.com>
Update server/storage/backend/verify.go
Co-authored-by: Benjamin Wang <benjamin.wang@broadcom.com>
2024-02-22 11:31:16 -08:00
James Blair
9713761c9d
depdendency: github.com/prometheus/common from 0.46.0 to 0.47.0.
...
Signed-off-by: James Blair <mail@jamesblair.net>
2024-02-22 22:25:22 +13:00
James Blair
f8141bc039
depdendency: go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc from 0.47.0 to 0.48.0.
...
Signed-off-by: James Blair <mail@jamesblair.net>
2024-02-22 22:25:22 +13:00
James Blair
df1727f3ea
depdendency: github.com/prometheus/client_model from 0.5.0 to 0.6.0.
...
Signed-off-by: James Blair <mail@jamesblair.net>
2024-02-22 22:25:22 +13:00
James Blair
08cacf1984
depdendency: google.golang.org/grpc from 1.61.0 to 1.61.1.
...
Signed-off-by: James Blair <mail@jamesblair.net>
2024-02-22 22:25:22 +13:00
Benjamin Wang
97fc1ec7d9
Merge pull request #17366 from halleyshx/add-keepalive-clientParams-to-proxy
...
Added client keepalive arguments to the grpc-proxy
2024-02-19 09:40:17 +00:00
vivekpatani
2eda06ac18
*: update logrus to v1.9.3
...
- update logrus to address PRISMA-2023-0056
- https://github.com/etcd-io/etcd/issues/17268
Signed-off-by: vivekpatani <9080894+vivekpatani@users.noreply.github.com>
2024-02-17 21:35:54 -08:00
Wei Fu
0354d39ae8
server/verify: use retErr to shadow local err
...
validateConsistentIndex function might return err but defer might still
log it's successful.
Signed-off-by: Wei Fu <fuweid89@gmail.com>
2024-02-17 17:21:19 +08:00
Benjamin Wang
ccc4318478
Merge pull request #17277 from ivanvc/fixes-etcdutl-memory-allocation-issue
...
etcdutl: Fix snapshot restore memory alloc issue
2024-02-14 11:41:14 +00:00
Ivan Valdes
be28833212
etcdutl: Fix snapshot restore memory alloc issue
...
When running the snapshot command, allow receiving an initial memory map
allocation for the database, avoiding future memory allocation issues.
Co-authored-by: Benjamin Wang <benjamin.wang@broadcom.com>
Co-authored-by: Fatih USTA <fatihusta86@gmail.com>
Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-02-13 13:36:13 -08:00
Ivan Valdes
d69adf45f9
server: Implement WithMmapSize option for backend config
...
Accept a third argument for NewDefaultBackend for overrides to the
BackendConfig.
Add a new function, WithMmapSize, which modifies the backend config to
provide a custom InitiamMmapSize.
Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-02-13 13:24:44 -08:00
Benjamin Wang
a6d72d5fbc
dependency: bump golang.org/x/net from 0.20.0 to 0.21.0
...
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2024-02-13 09:32:55 +00:00
Benjamin Wang
dfff80a89e
dependency: bump golang.org/x/crypto from 0.18.0 to 0.19.0
...
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2024-02-13 09:32:55 +00:00
Benjamin Wang
236e8ca881
dependency: bump go.opentelemetry.io/otel from 1.22.0 to 1.23.1
...
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2024-02-13 09:32:55 +00:00