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
Piotr Tabor
932d42b027
Merge pull request #12971 from ptabor/20210514-split-etcdctl
...
Split etcdctl into etcdctl (public API access) & etcdutl (direct surgery on files)
2021-05-17 14:07:20 +02:00
Piotr Tabor
3f7a038656
Fixed documentation and scripts.
2021-05-17 11:54:03 +02:00
Piotr Tabor
949c1c224b
Updated changelog.
2021-05-17 11:54:03 +02:00
Piotr Tabor
d99d0df5a5
Adding etcdutl test coverage.
2021-05-17 11:54:03 +02:00
Piotr Tabor
b6a8ae8372
add etcdutl version
. make it cov-tests compatible.
2021-05-17 11:54:03 +02:00
Piotr Tabor
c09aca1ba4
Split etcdctl into etcdctl (public API access) & etcdutl (direct surgery on files)
...
Motivation is as follows:
- etcdctl we only depend on clientv3 APIs, no dependencies of bolt, backend, mvcc, file-layout
- etcdctl can be officially supported across wide range of versions, while etcdutl is pretty specific to file format at particular version.
it's step towards desired modules layout, documented in: https://etcd.io/docs/next/dev-internal/modules/
2021-05-17 11:54:03 +02:00
Piotr Tabor
1675101293
Merge pull request #12981 from ptabor/20210516-fix-release-script
...
Fix release script: add `go mod tidy` after go.mod changes
2021-05-17 11:35:21 +02:00
Piotr Tabor
2712c787ab
Fix release script: add go mod tidy
...
Seems that additinal refresh of go.sum files is needed during the
release process after editing the versions of modules.
Discovered the problem while I was testing whether etcdutl is
properly included in the target binaries using:
```
DRY_RUN=true REPOSITORY=\`pwd\` BRANCH='branch-with-etcdutl' ./scripts/release 3.5.0-foobar.2
```
2021-05-16 20:43:12 +02:00
Piotr Tabor
f82b5cb776
Bring back original NewZapCoreLoggerBuilder api. ( #12973 )
...
The funcion signature has been changed in:
eafbc8c57efc716644c328f63677ca7eadeebdfe .
Instead we should have added new method `NewZapLoggerBuilder()`.
2021-05-16 10:26:10 -07:00
Piotr Tabor
9501e8e874
Merge pull request #12980 from aaronjheng/typo
...
Fix typo in CHANGELOG
2021-05-16 16:18:46 +02:00
Aaron Jheng
549a0f656f
docs: Fix typo in CHANGELOG
2021-05-16 21:44:57 +08:00
Piotr Tabor
adcf580137
Merge pull request #12976 from ptabor/20210516-fix-coverage
...
Fix coverage tests
2021-05-16 15:27:38 +02:00
Piotr Tabor
099fd65821
Fix coverage test failure: e2e TestIssue6361.
...
Tested with:
```
(cd tests && COVERDIR='../../c' 'env' 'go' 'test' '-tags=cov' '-timeout' '30m' 'go.etcd.io/etcd/tests/v3/e2e' -run TestIssue6361 -v 2>&1 | tee log.log)
```
2021-05-16 10:58:41 +02:00
Piotr Tabor
c7a76470d5
Fix path to the coverage folder for e2e tests.
2021-05-16 09:49:50 +02:00
Piotr Tabor
13ef6fc343
Fix coverage tests
...
2 problems:
- spawnCmdWithLogger was not implemented (when built with 'cov' tag)
- the logic was depending on relative paths. We change it to absolute
to be able to run in the test-specific temporary directories.
2021-05-16 09:49:50 +02:00
Patrice Chalin
bca0717f28
Rename master to main in README and other *.md files ( #12977 )
2021-05-15 23:46:05 -07:00
Piotr Tabor
3ed0cb1dfc
Update modules to more stable versions. ( #12975 )
2021-05-15 23:32:27 -07:00
Piotr Tabor
a6be38306a
Merge pull request #12974 from ptabor/20210515-fix-to-testing-env
...
Fixes to CI configs
2021-05-15 17:24:35 +02:00
Piotr Tabor
27c74398cd
Fixes to CI configs.
...
- Moves grpcproxy & functional tests to a separate workflows such thay can get restarted independently.
- Configures travis to run 1.16.3 go version (as travis cannot resolve 1.16 to the default).
2021-05-15 16:50:28 +02:00
Piotr Tabor
85341e08f2
Merge pull request #12968 from serathius/logger-simplify
...
server: Simplify passing logger setup by passing only logger
2021-05-15 15:58:00 +02:00
Piotr Tabor
ddc4f473c9
Merge pull request #12965 from ptabor/20210513-flake-in-e2e-debugging
...
Fix flakes due to 'shared dir' in grpcproxy e2e tests
2021-05-15 13:21:12 +02:00
Piotr Tabor
d8550deb7f
Fix pkg/proxy tests such that they don't leek goroutines and do close transports.
2021-05-14 22:45:59 +02:00
Piotr Tabor
8981afb6f5
Fix unit tests logging config.
2021-05-14 22:45:57 +02:00
Piotr Tabor
c18010cf42
etcdproxy e2e tests should run in dedicated directories.
...
So far all proxies were sharing the same (current) directory,
leading to tests flakes, e.g. due to certificates being overriden
in autoTLS mode.
2021-05-14 22:42:31 +02:00
Piotr Tabor
582d02e7f5
E2E tests should log commandlines used to spawn etcd or etcd proxy binaries.
2021-05-14 22:42:31 +02:00
Piotr Tabor
f5c26814ab
Loggers to catch the e2e flake.
2021-05-14 22:42:31 +02:00
Gyuho Lee
f2bc5eee91
Merge pull request #12969 from ptabor/20210514-etcdctl-step-by-step
...
Refactor common code from etcdctl (v2,v3) to pkg/corbautl.
2021-05-14 12:14:37 -07:00
Piotr Tabor
00c6090110
Refactor common code from etcdctl (v2,v3) to pkg/corbautl.
...
Preparation for etcdutl split.
2021-05-14 14:16:53 +02:00
Marek Siarkowicz
41ed74824e
server: Simplify passing logger setup by passing only logger
2021-05-14 13:14:48 +02:00
Piotr Tabor
eae7a845a7
Merge pull request #12964 from ptabor/main
...
Persists Term in the (bbolt) Backend
2021-05-14 06:35:21 +02:00
Piotr Tabor
ab586cd463
Persists Term in the (bbolt) Backend.
...
Additional layer of protection, that allows to validate whether we
start replaying log not only from the proper 'index', but also of the
right 'term'.
2021-05-13 21:29:01 +02:00
Piotr Tabor
e44fb40be5
Merge pull request #12962 from ptabor/20210513-write-conf-state
...
Save raftpb.ConfState in the backend.
2021-05-13 19:22:28 +02:00
Piotr Tabor
6ce7f7409e
Update changelog for storage format changes.
2021-05-13 19:21:25 +02:00
Gyuho Lee
e2d67f2e3b
Merge pull request #12956 from gyuho/rename-to-main
...
*: rename "master" branch references to "main" in source code
2021-05-13 08:26:33 -07:00
Piotr Tabor
865df75714
Save raftpb.ConfState in the backend.
...
This makes (bbolt) backend a full feature snapshot in term of WAL/raft,
i.e. carries:
- commit : (applied_index)
- confState
Benefits:
- Backend will be a sufficient point in time definition sufficient to
start replaying WAL. We have applied_index & confState in consistent
state.
- In case of emergency a backend state can be used for recovery
2021-05-13 14:29:36 +02:00
Piotr Tabor
3cb1ba4b2b
Merge pull request #12954 from serathius/logger-new-ctx-client
...
client: Add logger argument to NewCtxClient
2021-05-13 09:03:38 +02:00
Piotr Tabor
178fb876af
Merge pull request #12943 from ptabor/20210430-v2-deprecation-flags
...
--v2-deprecation flag: opt-in mode to validate that store-v2 has no user-content
2021-05-13 09:03:12 +02:00
Gyuho Lee
fbbf284493
Merge pull request #12957 from spzala/writeoutformat
...
doc: fix output flag format
2021-05-12 11:50:53 -07:00
Sahdev Zala
5f76adfc3e
doc: fix output flag format
...
Add missing dash in the flag.
2021-05-12 14:13:08 -04:00
Gyuho Lee
cd6d730dc5
raft: rename "master" branch references to "main"
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2021-05-12 10:41:39 -07:00
Gyuho Lee
b6562a24b6
.github: rename "master" branch references to "main"
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2021-05-12 10:41:24 -07:00
Gyuho Lee
5a0a1a4b45
markdowns: rename "master" branch references to "main"
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2021-05-12 10:41:02 -07:00
Gyuho Lee
3d4629c1fb
hack,scripts: rename "master" branch references to "main"
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2021-05-12 10:40:28 -07: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