Sam Batschelet
d7eeda09f7
Merge pull request #13349 from serathius/tip-3.5
...
Stop using tip golang version in CI
2021-09-15 08:04:37 -04:00
Marek Siarkowicz
921f78d56f
Stop using tip golang version in CI
2021-09-15 10:29:06 +02:00
Sam Batschelet
2fe94b19d3
Merge pull request #13257 from tangcong/automated-cherry-pick-of-#13145-#13237-origin-release-3.5
...
[backport 3.5]: Automated cherry pick of #13145 #13237
2021-08-06 09:01:14 -04:00
tangcong
627d91c89d
fix self-signed-cert-validity parameter cannot be specified in the config file
2021-07-30 07:53:43 +08:00
tangcong
dfd2fea4c5
fix health endpoint not usable when authentication is enabled
2021-07-30 07:53:40 +08:00
Gyuho Lee
beae2e1801
workflows: remove ARM64 job for maintenance
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2021-07-03 13:01:37 -07:00
Sam Batschelet
946a5a6f25
version: 3.5.0
...
Signed-off-by: Sam Batschelet <sbatsche@redhat.com>
v3.5.0
tests/v3.5.0
etcdctl/v3.5.0
etcdutl/v3.5.0
server/v3.5.0
client/v3.5.0
client/v2.305.0
client/pkg/v3.5.0
raft/v3.5.0
pkg/v3.5.0
api/v3.5.0
2021-06-15 17:34:52 -04:00
Sam Batschelet
1e2cab929c
Merge pull request #13099 from tangcong/automated-cherry-pick-of-#13077-origin-release-3.5
...
[backport 3.5] embed: unlimit the recv msg size of grpc-gateway
2021-06-10 21:28:31 -04:00
spacewander
53e04b2615
embed: unlimit the recv msg size of grpc-gateway
...
Ensure the client which access etcd via grpc-gateway won't
be limited by the MaxCallRecvMsgSize. Here we choose the same
default value of etcdcli as grpc-gateway's MaxCallRecvMsgSize.
Fix https://github.com/etcd-io/etcd/issues/12576
2021-06-11 07:53:49 +08:00
Sam Batschelet
8139dd3e55
version: 3.5.0-rc.1
...
Signed-off-by: Sam Batschelet <sbatsche@redhat.com>
v3.5.0-rc.1
tests/v3.5.0-rc.1
etcdctl/v3.5.0-rc.1
etcdutl/v3.5.0-rc.1
server/v3.5.0-rc.1
client/v3.5.0-rc.1
client/v2.305.0-rc.1
client/pkg/v3.5.0-rc.1
raft/v3.5.0-rc.1
pkg/v3.5.0-rc.1
api/v3.5.0-rc.1
2021-06-09 17:57:52 -04:00
Sam Batschelet
5d52faec47
Merge pull request #13095 from hexfusion/cp-13049
...
[release-3.5]: [Fix] --log-outputs relative path are not supported when --log-rotate-config-json is defined
2021-06-09 15:01:09 -04:00
Mr-Mu
98bbc0107f
TestLogRotation add log output relative path
...
TestLogRotation add test log output relative path test
2021-06-09 14:12:07 -04:00
Mr-Mu
fed3bc3084
[Fix]滚动日志路径解析不正确
...
例如 rotate:test.log 路径解析不正确
2021-06-09 14:12:07 -04:00
Sam Batschelet
b327edf521
Merge pull request #13092 from lilic/bump-client-golang-3.5
...
[release-3.5]: Update client_golang dependency to v1.11.0
2021-06-07 20:52:09 -04:00
Lili Cosic
9fee8bf95e
Update client_golang dependency to v1.11.0
2021-06-07 15:54:57 +02:00
Gyuho Lee
e721e4eb10
Merge pull request #13088 from gyuho/c
...
[backport 3.5] etcdserver: don't attempt to grant nil permission to a role
2021-06-04 16:22:03 -07:00
J. David Lowe
e27effa250
etcdserver: don't attempt to grant nil permission to a role
...
Prevent etcd from crashing when given a bad grant payload, e.g.:
$ curl -d '{"name": "foo"}' http://localhost:2379/v3/auth/role/add
{"header":{"cluster_id":"14841639068965178418", ...
$ curl -d '{"name": "foo"}' http://localhost:2379/v3/auth/role/grant
curl: (52) Empty reply from server
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2021-06-04 15:34:22 -07:00
Gyuho Lee
abe57c1aed
Merge pull request #13085 from gyuho/c
...
[backport 3.5] etcdserver: don't activate alarm w/missing AlarmType
2021-06-04 15:12:28 -07:00
J. David Lowe
ae194c1470
etcdserver: don't activate alarm w/missing AlarmType
...
Narrowly prevent etcd from crashing when given a bad ACTIVATE payload, e.g.:
$ curl -d "{\"action\":\"ACTIVATE\"}" ${ETCD}/v3/maintenance/alarm
curl: (52) Empty reply from server
2021-06-04 14:21:04 -07:00
Sam Batschelet
ab20aa29a0
version: 3.5.0-rc.0
...
Signed-off-by: Sam Batschelet <sbatsche@redhat.com>
v3.5.0-rc.0
tests/v3.5.0-rc.0
etcdctl/v3.5.0-rc.0
etcdutl/v3.5.0-rc.0
server/v3.5.0-rc.0
client/v3.5.0-rc.0
client/v2.305.0-rc.0
client/pkg/v3.5.0-rc.0
raft/v3.5.0-rc.0
pkg/v3.5.0-rc.0
api/v3.5.0-rc.0
2021-06-03 21:39:37 -04:00
Gyuho Lee
a6b37e2642
Merge pull request #13081 from wilsonwang371/20210603-backport13075
...
backport-3.5: server: skip unnecessary sprintf which executes proto.Size()
2021-06-03 13:53:49 -07:00
Wilson Wang
4563cebaa4
server: skip unnecessary sprintf which executes proto.Size()
...
(cherry picked from commit 11edc76b15f0a1b8a3cf7e2d91f59978b93407b5)
2021-06-03 13:21:23 -07:00
Sam Batschelet
3a82198773
Merge pull request #13079 from ptabor/20210604-deps-3.5
...
backport-3.5: Update of dependencies:zap, bbolt, grpc, ...
2021-06-03 12:18:27 -04:00
Piotr Tabor
a5523be415
Update of dependencies:
...
- zap-1.17.0
- bbolt-1.3.6
- grpc -1.38
- github.com/coreos/go-systemd/v22 v22.3.2
- github.com/google/btree v1.0.1
- github.com/json-iterator/go v1.1.11
2021-06-03 15:19:33 +02:00
Piotr Tabor
fea5ace182
Merge pull request #13064 from serathius/v3.5-limit
...
Backport #13060 to release-3.5
2021-06-01 17:18:47 +02:00
Marek Siarkowicz
9a18742bd7
etcdserver: Fix invalid count returned on Range with Limit
2021-06-01 16:12:53 +02:00
Sam Batschelet
6cd7c02873
Merge pull request #13055 from ptabor/20210528-beckport-integration-fixes
2021-05-30 16:35:15 -04:00
Piotr Tabor
3f13d3a2d5
integration.BeforeTest can be run without leak-detection.
2021-05-28 10:01:36 +02:00
Gyuho Lee
7b244ae558
Merge pull request #13043 from ptabor/cherry-picks-3.5
...
backport-3.5: Expose clientv3.CreateDefaultZapLoggerConfig
2021-05-26 10:06:36 -07:00
Piotr Tabor
4af7fc393c
Expose clientv3.CreateDefaultZapLoggerConfig
...
Need raised in
f3f4259d3f
.
BTW: Alligned the implementation of grpclogs with what we use in embed server, so reduced the client code dependencies.
2021-05-26 12:52:46 +02:00
Sam Batschelet
b3f16d6691
version: 3.5.0-beta.4
...
Signed-off-by: Sam Batschelet <sbatsche@redhat.com>
v3.5.0-beta.4
tests/v3.5.0-beta.4
etcdctl/v3.5.0-beta.4
etcdutl/v3.5.0-beta.4
server/v3.5.0-beta.4
client/v3.5.0-beta.4
client/v2.305.0-beta.4
client/pkg/v3.5.0-beta.4
raft/v3.5.0-beta.4
pkg/v3.5.0-beta.4
api/v3.5.0-beta.4
2021-05-25 20:48:48 -04:00
Gyuho Lee
16214c3443
Merge pull request #13037 from ptabor/cherry-picks-3.5
...
Backport-3.5: seq reset + bucket as object
2021-05-25 01:27:48 -07:00
Piotr Tabor
e6baf6d751
Represent bucket as object instead of []byte name.
...
Thanks to this change:
- all the maps bucket -> buffer are indexed by int's instead of
string. No need to do: byte[] -> string -> hash conversion on each
access.
- buckets are strongly typed in backend/mvcc API.
2021-05-25 09:22:25 +02:00
Piotr Tabor
8bddbdc1d6
Rename seq to bucket2seq.
2021-05-25 09:21:07 +02:00
Piotr Tabor
d3b3228c1f
Minor formatting fix on top of https://github.com/etcd-io/etcd/pull/12568
2021-05-25 09:21:07 +02:00
mlmhl
261f8b1daf
backend: set seq flag for each bucket buffer
2021-05-25 09:21:06 +02:00
Gyuho Lee
dd22bd747e
Merge pull request #13036 from gyuho/cherry-pick
...
[release-3.5] server: set multiple concurrentReadTx instances share one txReadBuffer.
2021-05-24 18:00:09 -07:00
Wilson Wang
7a7d6f94a7
server: set multiple concurrentReadTx instances share one txReadBuffer.
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2021-05-24 16:59:42 -07:00
Gyuho Lee
c0d1450b45
Merge pull request #13003 from gyuho/cherry-pick
...
[backport release-3.5] applyV2 should reapply on backend only once
2021-05-18 23:50:10 -07:00
Piotr Tabor
c4ebac0c57
applyV2 should reapply on backend only once
...
During review of: https://github.com/etcd-io/etcd/pull/12988 spotted
that PUT is actially writing to v3-backend.
If we are replaying WAL log, it might happened that backend's
applied_index is > than the WAL's log entry. In such situation we should
skip applying on backend V3.
I think both the methods (setVersion, setMembersAttributes) are in
practice idempotent so its not that 'serious' problem, but for
formal correctness adding the proper checks.
2021-05-18 23:16:59 -07:00
Sam Batschelet
379c361bc6
version: 3.5.0-beta.3
...
Signed-off-by: Sam Batschelet <sbatsche@redhat.com>
v3.5.0-beta.3
tests/v3.5.0-beta.3
etcdctl/v3.5.0-beta.3
etcdutl/v3.5.0-beta.3
server/v3.5.0-beta.3
client/v3.5.0-beta.3
client/v2.305.0-beta.3
client/pkg/v3.5.0-beta.3
raft/v3.5.0-beta.3
pkg/v3.5.0-beta.3
api/v3.5.0-beta.3
2021-05-18 09:44:35 -04:00
Sam Batschelet
163d9fd6f4
Merge pull request #12998 from hexfusion/cp-12997
...
Manual cherry pick of #12997
2021-05-18 08:20:41 -04:00
Sam Batschelet
d06c97209c
scripts: add missing etcdutl to release pipeline
...
Signed-off-by: Sam Batschelet <sbatsche@redhat.com>
2021-05-18 07:57:27 -04:00
Sam Batschelet
1a8a063a31
version: 3.5.0-beta.2
...
Signed-off-by: Sam Batschelet <sbatsche@redhat.com>
v3.5.0-beta.2
tests/v3.5.0-beta.2
etcdctl/v3.5.0-beta.2
etcdutl/v3.5.0-beta.2
server/v3.5.0-beta.2
client/v3.5.0-beta.2
client/v2.305.0-beta.2
client/pkg/v3.5.0-beta.2
raft/v3.5.0-beta.2
pkg/v3.5.0-beta.2
api/v3.5.0-beta.2
2021-05-18 06:32:19 -04:00
Sam Batschelet
e46bcb5ad9
version: 3.5.0-beta.1
...
Signed-off-by: Sam Batschelet <sbatsche@redhat.com>
v3.5.0-beta.1
2021-05-17 21:50:03 -04:00
Sam Batschelet
535a9447ce
Merge pull request #12990 from gyuho/backport
...
release-3.5: backport set version panic fix, ARM64 tests
2021-05-17 17:12:47 -04:00
Gyuho Lee
84d9187dbf
github/workflow: run arm64 tests for all branches startin from 3.5
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2021-05-17 13:52:11 -07:00
Chao Chen
2042d2abc4
use v2 api to update cluster version
2021-05-17 13:50:38 -07:00
Sam Batschelet
cf54fab42f
version: v3.5.0-beta.0
...
Signed-off-by: Sam Batschelet <sbatsche@redhat.com>
v3.5.0-beta.0
2021-05-17 13:29:57 -04:00
Sam Batschelet
c49444d5d0
*: Remove Changelog
...
Signed-off-by: Sam Batschelet <sbatsche@redhat.com>
2021-05-17 13:15:29 -04:00