Piotr Tabor
1237b3576c
Merge pull request #13487 from mrueg/go-1.17.3
...
*: Bump to go 1.17.6
2022-01-15 17:01:17 +01:00
Marek Siarkowicz
4032d4f66a
Remove CodeQL errors
2022-01-13 14:29:09 +01:00
Manuel Rüger
cf7e8b3535
go.mod: Bump golang.org/x/net dependency; regenerate go.sum
...
Bumps golang.org/x/net dependency due to fix CVE-2021-44716
as requested in https://github.com/etcd-io/etcd/pull/13487#issuecomment-997065540
Signed-off-by: Manuel Rüger <manuel@rueg.eu>
2022-01-12 03:00:08 +01:00
Liang Zheng
0cc789d81d
update dump db tool
...
Signed-off-by: Liang Zheng <zhengliang0901@gmail.com>
2022-01-01 00:13:33 +08:00
Liang Zheng
7eb4bed254
fix etcd benchmark binary not found
...
Signed-off-by: Liang Zheng <zhengliang0901@gmail.com>
2021-11-24 09:56:33 +00:00
Clivern
729af2ad2e
fix undefined io
2021-11-10 20:12:28 +01:00
Eng Zer Jun
2a151c8982
*: move from io/ioutil to io and os packages
...
The io/ioutil package has been deprecated as of Go 1.16, see
https://golang.org/doc/go1.16#ioutil . This commit replaces the existing
io/ioutil functions with their new definitions in io and os packages.
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2021-10-28 00:05:28 +08:00
Lili Cosic
e6e279a14d
*: Bump go to go v1.17.2
2021-10-27 13:44:54 +02:00
Chao Chen
9084acceac
tools/benchmark: add autoSync flag
2021-10-15 22:03:23 -07:00
Sahdev Zala
884e7ddb14
Merge pull request #13318 from LeoYang90/fix-rw-benchmark
...
rw benchmark add val-size
2021-09-08 19:00:40 -04:00
leoyang.yl
ceb23c9d9b
rw benchmark add val-size
2021-09-02 21:11:19 +08:00
Sahdev Zala
55525e3cc5
Benchmark: remove redundant function call
...
Remove the redundancy as HashKV func is being called twice.
2021-08-12 09:56:38 -04:00
Piotr Tabor
1e46145b29
Merge pull request #13268 from serathius/storage-min
...
Move storage bootstrap dependencies to storage package
2021-08-03 17:28:36 +02:00
Marek Siarkowicz
44b8ae145b
etcdserver: Move datadir and wal to storage package
2021-08-03 12:47:37 +02:00
Haimantika Mitra
c10d50c4b3
Replace github.com/form3tech-oss/jwt-go with https://github.com/golang-jwt/jwt
...
Signed-off-by: Haimantika Mitra <haimantikamitra@gmail.com>
Made required adjustments to the go.sum file
Signed-off-by: Haimantika Mitra <haimantikamitra@gmail.com>
Changed go.sum file in the server directory
Signed-off-by: Haimantika Mitra <haimantikamitra@gmail.com>
Removed the white space
Signed-off-by: Haimantika Mitra <haimantikamitra@gmail.com>
Made required changes
Signed-off-by: Haimantika Mitra <haimantikamitra@gmail.com>
Trying to fix the fails
Signed-off-by: haimantika mitra <haimantikamitra@gmail.com>
Removed error
Signed-off-by: haimantika mitra <haimantikamitra@gmail.com>
Fixed bill-of-materials.json file
Signed-off-by: haimantika mitra <haimantikamitra@gmail.com>
Changed go.mod with recent version
Signed-off-by: haimantika mitra <haimantikamitra@gmail.com>
Newer version changes
Signed-off-by: haimantika mitra <haimantikamitra@gmail.com>
Changes to etcdutl directory
Signed-off-by: haimantika mitra <haimantikamitra@gmail.com>
2021-08-03 13:49:47 +05:30
Marek Siarkowicz
5b6f4579fb
server: Rename buckets to schema
2021-07-12 15:37:21 +02:00
Marek Siarkowicz
5e40a8b00c
server: Create storage package and move mvcc files to it
2021-07-12 15:37:21 +02:00
Marek Siarkowicz
86f68b9374
*: Add missing file licenses and Fix static analysis prevent skipping them in future
2021-06-29 12:52:02 +02:00
Rajalakshmi-Girish
8bfce5dc01
Add option to generate junit xml reports
2021-06-16 07:25:50 +00:00
Wilson Wang
0d2dd291bd
tools: rw-heatmaps output format bug fix
2021-06-06 14:58:49 -07:00
Wilson Wang
8a0142c8b1
server: enable getting raft request from cache to avoid extra unmarshalling
2021-06-05 17:37:01 -07:00
Piotr Tabor
852fae73ae
Merge pull request #13082 from wilsonwang371/main_stable
...
tools: update mixed read/write perf testing script for a larger range of value size
2021-06-04 13:29:31 +02:00
Wilson Wang
fe2c05275b
tools: update mixed read/write perf testing script for a larger range of value size
2021-06-03 22:46:47 -07:00
Gyuho Lee
af6f3dcba5
Merge pull request #13074 from wilsonwang371/rw-bm-bugfix
...
tools: fix small rw-heatmaps python plot script argument parsing bug
2021-06-02 13:59:48 -07:00
Wilson Wang
d3ae6f25dd
tools: fix small rw-heatmaps python plot script argument parsing bug
...
(cherry picked from commit 5b6b3ffe0b9fca7c72edfc2218e98357d1152872)
2021-06-02 13:32:02 -07:00
Piotr Tabor
c7cbc6befa
Merge pull request #13027 from lilic/benchmark-readme
...
tools/benchmark/README.md: Update installation as go get does not work
2021-05-31 10:37:49 +02:00
Lili Cosic
312908c068
tools/benchmark/README.md: Update installation as go get does not work
2021-05-31 10:25:37 +02:00
Wilson Wang
8389ab8751
tool: save test parameters in mixed read/write benchmark script.
2021-05-26 20:38:49 -07:00
Wilson Wang
2ab2b4035c
tools: no hardcoded repeat times in rw-benchmark scripts
2021-05-25 15:43:46 -07:00
Wilson Wang
db8ce62984
tools: update mixed read/write benchmark script
2021-05-25 13:30:56 -07:00
Wilson Wang
79b2777482
tools: add mixed read-write performance evaluation scripts
2021-05-25 12:03:42 -07:00
Piotr Tabor
66752fef2f
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-18 18:58:53 +02:00
Gyuho Lee
6bab63e96b
tools: rename "master" branch references to "main"
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2021-05-12 10:39:53 -07:00
Piotr Tabor
a78d072b9a
Simplify KVstore dependency on cindex.
2021-05-04 18:21:24 +02:00
Piotr Tabor
ffea1537d4
ClientV3 tests use integration.NewClient that configures proper logger.
2021-04-29 18:18:34 +02:00
Piotr Tabor
aa6597384b
etcd-dump-logs: Print full confState as json for debugging purposes.
2021-04-27 17:17:31 +02:00
Piotr Tabor
3423a949c0
Update go for 3.5: 1.15 -> 1.16.(3).
...
https://github.com/etcd-io/etcd/issues/12732
2021-04-19 16:50:54 +02:00
Piotr Tabor
3bb7acc8cf
Migrate dependencies pkg/foo -> client/pkg/foo
2021-04-07 00:38:47 +02:00
Joel Smith
19f7c6ef3e
*: Update gogo/protobuf to v1.3.2, rerun ./scripts/genproto.sh
...
While it appears that etcd is not vulnerable to CVE-2021-3121,
it is a good idea to update to the new generator so that new
vulnerable code isn't generated in any future APIs. Also, this
lays the issue to rest of whether there is any issue with
etcd and CVE-2021-3121.
2021-03-23 11:48:06 -06:00
Piotr Tabor
9312d1b077
clientv3: Bring back ETCD_CLIENT_DEBUG variable interpretation.
...
env ETCD_CLIENT_DEBUG supports log levels (debug, info, warn, error, dpanic, panic, fatal).
Only when set, overrides application-wide grpc logging settings.
2021-03-18 18:43:07 +01:00
Piotr Tabor
a7f340216d
Reformat code according to 'gotip' rules.
...
In practices adds annotations in the new syntax:
```
+//go:build !linux
// +build !linux
```
Fixes failing gotip PASSES='fmt' check:
https://travis-ci.com/github/etcd-io/etcd/jobs/486453806
2021-02-26 10:14:46 +01:00
Piotr Tabor
598ca6caab
Modernize release script:
...
- making sure the DRY_RUN mode can finish e2e, so e.g. commits to
local copy of repository are OK in dry-run (while git pushes are NOT).
- better interaction with ./test_lib.sh script.
- more consistent logging
- bringing back s390x architecture that on go 1.14.3 seems to work as
expected.
2021-01-21 17:47:36 +01:00
Piotr Tabor
577c898fee
scripts: Integrate ./scripts/release with new code for tagging modules.
...
Changes:
- signing tags.
- allows to override BRANCH and REPOSITORY using env variables.
Tested by a release in my private fork:
BRANCH="20201126-ptabor-release" REPOSITORY="git@github.com:ptabor/etcd.git" ./scripts/release 3.5.0-alpha.20
2021-01-15 12:31:44 +01:00
Gyuho Lee
3eea37cf31
tools/etcd-dump-metrics: validate exec cmd args
...
To prevent arbitrary command invocations.
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2020-11-25 10:37:52 -08:00
Piotr Tabor
aaf423e962
server: Update imports.
...
find -name '*.go' | xargs sed -i --follow-symlinks 's|etcd/v3/|etcd/server/v3/|g'
2020-10-26 13:02:32 +01:00
Piotr Tabor
0ba16d8ee1
*: Convert tabulators to whitespaces in bash scripts.
...
Execution of `./scripts/fix.sh` that executed:
```
find ./ -name '*.sh' | xargs sed --follow-symlinks -i 's|\t| |g'
```
2020-10-26 10:59:40 +01:00
Piotr Tabor
e33c6dd9df
client/v3: Rename of imports
2020-10-20 10:13:06 +02:00
Piotr Tabor
e62417297d
*: Rename of imports of raft (as its now a module)
...
% find -name '*.go' -o -name '*.md' -o -name '*.sh' | xargs sed -i --follow-symlinks 's|etcd/v3/raft|etcd/raft/v3|g'
2020-10-16 13:58:18 +02:00
Piotr Tabor
b7f0f52a16
*: Refresh of dependencies ( #12399 )
...
This PR focuses on dependencies that have new stable versions.
2020-10-15 15:32:00 -07:00
Piotr Tabor
da5ca2c0d5
tools: Update of go.mod for protos (gogo/protobuf 1.3.1, grpc 1.29.1, grpc-gateway 1.14.6)
...
This brings consistency between proto-generation code and actual versions of libraries being used in runtime:
github.com/gogo/protobuf v1.2.1,v1.0.0 -> v1.3.1
github.com/golang/protobuf v1.3.2 -> v1.3.5
github.com/grpc-ecosystem/grpc-gateway v1.9.5,v1.4.1,v1.15.2 -> v1.14.6
google.golang.org/grpc v1.26.0 -> v1.29.1
Moved as far as possible, without bumping on grpc 1.30.0 "naming" decomissioning.
Please also notice that gogo/protobuf is likely to reach EOL: https://github.com/gogo/protobuf/issues/691
2020-10-14 18:46:38 +02:00