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
0bdc660ec2
Merge pull request #13537 from songlh/main
...
fix potential goroutine leaks
2021-12-21 10:47:54 +01:00
246e7eba09
fixing the goroutine in two unit tests
2021-12-21 04:46:39 -05:00
7ff2c7714e
Merge pull request #13546 from justaugustus/debian-base-bullseye
...
images: Use Kubernetes debian-base:bullseye-v1.1.0 as base image
2021-12-21 10:44:03 +01:00
5e8f50bb09
remove the extra stop
2021-12-17 20:03:19 -05:00
bbb187dcc0
images: Use Kubernetes debian-base:bullseye-v1.1.0 as base image
...
Signed-off-by: Stephen Augustus <foo@auggie.dev >
2021-12-17 16:06:37 -05:00
ddb9554eec
server/etcdmain: add build support for Apple M1
...
This has been additionally verified by running the tests locally as a
basic smoke test. GitHub Actions doesn't provide MacOS M1 (arm64) yet,
so there's no good way to automate testing.
Ran `TMPDIR=/tmp make test` locally. The `TMPDIR` bit is needed so
there's no really long path used that breaks Unix socket setup in one of
the tests.
2021-12-17 17:35:36 +01:00
42840d0fda
Merge pull request #13528 from ahrtr/update_test_remove_redundant_line
...
Remove the redundant line from test.sh
2021-12-16 11:47:39 +01:00
0098dbf350
fixing two goroutine leaks and one panic
2021-12-15 22:38:25 -05:00
0213b8baed
fixing goroutine leaks in testServer
2021-12-15 02:43:49 -05:00
3ebd0a7d00
fixing the goroutine leak in TestBackendClose
2021-12-15 01:54:51 -05:00
d1194977eb
fix potential goroutine leaks in TestTxnPanics
2021-12-15 01:22:56 -05:00
793e081a5b
remove the redundant line from test.sh
2021-12-10 05:05:48 +08:00
29292aa7bd
Merge pull request #13505 from LeoYang90/fix_watchable_runlock
...
fix watchablestore runlock bug
2021-12-03 12:21:30 +01:00
7be1464ef1
set the backend again after recovering v3 backend from snapshot
2021-12-03 05:52:12 +08:00
170d9b9d73
Merge pull request #13508 from serathius/checkpoints-fix
...
Lease Checkpoints fix
2021-12-02 16:08:40 +01:00
3e391f4fba
Merge pull request #13513 from ahrtr/enhance_etcdctl_make_mirror_log
...
etcdctl: enhance the make-mirror command to return error asap when invalid flags are provided
2021-12-02 16:05:22 +01:00
48a7aab2bc
server: Add lease checkpointing fix information to CHANGELOG
2021-12-02 14:36:57 +01:00
7d10899d7f
server: Require either cluster version v3.6 or --experimental-enable-lease-checkpoint-persist to persist lease remainingTTL
...
To avoid inconsistant behavior during cluster upgrade we are feature
gating persistance behind cluster version. This should ensure that
all cluster members are upgraded to v3.6 before changing behavior.
To allow backporting this fix to v3.5 we are also introducing flag
--experimental-enable-lease-checkpoint-persist that will allow for
smooth upgrade in v3.5 clusters with this feature enabled.
2021-12-02 12:26:47 +01:00
8b3405bdb8
etcdctl: enhance the make-mirror command to return error asap with wrong command line parameters
2021-11-30 06:26:11 +08:00
fd77b2700c
etcdserver,integration: Store remaining TTL on checkpoint
...
To extend lease checkpointing mechanism to cases when the whole etcd
cluster is restarted.
2021-11-26 15:17:22 +01:00
48a360aad0
lease,integration: add checkpoint scheduling after leader change
...
Current checkpointing mechanism is buggy. New checkpoints for any lease
are scheduled only until the first leader change. Added fix for that
and a test that will check it.
2021-11-26 14:34:19 +01:00
7e6c29c198
fix runlock bug
2021-11-26 11:05:36 +08:00
7572a61a39
Merge pull request #13498 from KushalP/upgrade-otel-version
...
*: Upgrade to use go.opentelemetry.io/otel@v1.2.0
2021-11-24 21:08:29 -05:00
63ff6d403d
correct the public key comparison logic
2021-11-25 05:57:55 +08:00
71493bde3e
*: Upgrade to use go.opentelemetry.io/otel@v1.2.0
...
Upgrading from v1.0.1.
Upgrading related dependencies
------------------------------
The following dependencies also had to be upgraded:
- go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.26.1
From v0.25.0. This gets rid of a transitive dependency on go.opentelemetry.io/otel@v1.0.1.
- google.golang.org/genproto@v0.0.0-20211118181313-81c1377c94b1
2021-11-24 16:03:33 +00:00
e2273f94c4
Merge pull request #13497 from microyahoo/benchmark_not_found
...
fix etcd benchmark binary not found
2021-11-24 09:34:18 -05:00
7eb4bed254
fix etcd benchmark binary not found
...
Signed-off-by: Liang Zheng <zhengliang0901@gmail.com >
2021-11-24 09:56:33 +00:00
8f17652c60
Merge pull request #13492 from mitake/changelog-3.5-for-pr-13477
...
Update CHANGELOG for PR 13477
2021-11-21 14:45:32 -05:00
ae71439037
Update CHANGELOG for PR 13477
2021-11-21 23:04:58 +09:00
7e0248b367
Merge pull request #13461 from qsyqian/etcdctl-command-defrag
...
etcdctl/ctlv3/command: add use time for defrag command
2021-11-17 13:36:23 -05:00
eccabd237b
etcdctl/ctlv3/command: add use time for defrag command
2021-11-16 22:39:31 +08:00
b87793836c
Merge pull request #13481 from hexfusion/bump-3.6-cl
...
CHANGELOG: add experimental-max-learners
2021-11-15 17:42:12 -05:00
23146a9faf
CHANGELOG: add experimental-max-learners
...
Signed-off-by: Sam Batschelet <sbatsche@redhat.com >
2021-11-15 17:21:32 -05:00
d357f9b361
Merge pull request #13399 from ahrtr/serializable_health_check
...
Enhance health check endpoint to support serializable request
2021-11-15 11:46:55 -05:00
29c3b0f307
Merge pull request #13377 from hexfusion/add-learner-limit-flag
...
Add experimental-max-learners flag
2021-11-15 09:49:18 -05:00
09ff05108b
enhance health check endpoint to support serializable request
2021-11-15 05:57:54 +08:00
db6cd70b54
Merge pull request #13470 from Clivern/main
...
Fix undefined io
2021-11-14 16:32:05 -05:00
1577cddda5
Merge pull request #13467 from chaochn47/fix_exclude_alarms
...
server/etcdserver/api/etcdhttp: exclude the same alarm type activated by multiple peers
2021-11-13 22:10:06 -05:00
d6161ec387
Update CHANGELOG
2021-11-12 14:34:33 -08:00
729af2ad2e
fix undefined io
2021-11-10 20:12:28 +01:00
15b0820e2f
Merge pull request #13439 from chaochn47/remove_json_iterator_reflect2
...
client/v2: remove unsafe json-iterator/reflect2
2021-11-09 18:20:32 -05:00
f6f27d32d1
server/etcdserver/api/etcdhttp: exclude the same alarm type activated by multiple peers
2021-11-09 11:33:59 -08:00
b5e4c2d3c4
client/v2: remove unsafe json-iterator/reflect2
2021-11-09 11:16:40 -08:00
63a1cc3fe4
add --experimental-max-learner flag
...
Signed-off-by: Sam Batschelet <sbatsche@redhat.com >
2021-11-09 09:52:00 -05:00
6656181d31
Merge pull request #13358 from LeoYang90/fix_genprotobuf
...
Fix genproto path error:./server/wal/walpb
2021-10-29 23:27:47 +02:00
fd0b98b6c0
Merge pull request #13404 from JmPotato/refine_periodic
...
v3compactor: refine some code and fix a typo
2021-10-29 23:25:23 +02:00
6c2f5dc78a
Merge pull request #13405 from serathius/downgrade-b
...
Implement single node downgrades
2021-10-29 23:22:10 +02:00
9c28e07588
Merge pull request #13447 from Juneezee/deprecate-ioutil
...
*: move from io/ioutil to io and os packages
2021-10-29 23:18:36 +02:00
9d47a97b0b
server: Remove lock from adapter to avoid deadlock
2021-10-29 12:47:19 +02:00