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
Gyuho Lee
a8e1cf0433
client: rename "master" branch references to "main"
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2021-05-12 10:38:50 -07:00
Gyuho Lee
19fcefae70
tests: rename "master" branch references to "main"
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2021-05-12 10:38:12 -07:00
Gyuho Lee
77c8033739
server: rename "master" branch references
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2021-05-12 10:37:35 -07:00
Piotr Tabor
79e3d7bd3e
Add e2e tests for --v2-deprecation flag.
2021-05-12 19:20:49 +02:00
Gyuho Lee
57d9666974
Merge pull request #12950 from gyuho/badge
...
README: add badges for all github action workflows
2021-05-12 09:18:28 -07:00
Gyuho Lee
6fdd82f50e
README: add badges for all github action workflows
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2021-05-12 09:16:31 -07:00
Piotr Tabor
ead81df948
Disallow -v2-deprecation>'not-yet' combined with --enable-v2
2021-05-12 18:09:34 +02:00
Piotr Tabor
7c508741b3
Adding --v2-deprecation flag.
2021-05-12 18:09:34 +02:00
Piotr Tabor
f3b4a3e578
Detecting whether v2store is "empty" (metadata only).
2021-05-12 18:09:34 +02:00
Marek Siarkowicz
1189ee3f3d
client: Add logger argument to NewCtxClient
2021-05-12 16:40:55 +02:00
Piotr Tabor
d982fe7176
Merge pull request #12952 from serathius/go1.16.4
...
Swtich CI to use newest available 1.16 Go version
2021-05-12 16:11:50 +02:00
Marek Siarkowicz
c868bb97a9
github actions: Switch CI to use newest available 1.16 version
2021-05-12 15:25:16 +02:00
Piotr Tabor
7ba53c71a9
Merge pull request #12953 from serathius/e2e-split
...
github actions: Move e2e to separate workflow and remove semaphoreci
2021-05-12 14:55:28 +02:00
Marek Siarkowicz
f908e423bc
github actions: Move e2e to separate workflow and remove semaphoreci
2021-05-12 14:17:17 +02:00
Piotr Tabor
1929aa0a36
Merge pull request #12948 from serathius/logger
...
client: Allow setting zap logger in config
2021-05-12 13:49:48 +02:00
Marek Siarkowicz
06afe87b34
client: Allow setting zap logger in config
2021-05-12 12:15:20 +02:00
Piotr Tabor
e0a8484c8f
Merge pull request #12941 from serathius/defrag
...
etcdserver: Implement running defrag if freeable space will exceed provided threshold (on boot)
2021-05-12 09:26:56 +02:00
Piotr Tabor
980d70d050
Merge pull request #12947 from serathius/e2e
...
github actions: Run e2e tests
2021-05-12 09:23:06 +02:00
Piotr Tabor
3b24496c2a
Merge pull request #12925 from yangxuanjia/yxjetcd_check_resuming
...
check resuming len to avoid panic
2021-05-12 09:18:40 +02:00
Gyuho Lee
270b60e536
CHANGELOG: update
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2021-05-11 19:32:31 -07:00
yangxuanjia
68b1e9f728
check resuming len to avoid panic
2021-05-12 09:51:59 +08:00
Gyuho Lee
70f7e0d70f
Merge pull request #12929 from gyuho/github-worker-arm64-support
2021-05-11 10:29:53 -07:00
Piotr Tabor
450fd9a0b1
Merge pull request #12946 from serathius/badge
...
readme: Switch Travis CI test results badge to GitHub actions
2021-05-11 14:24:47 +02:00
Marek Siarkowicz
f48609ae52
github actions: Run e2e tests
2021-05-11 14:20:46 +02:00
Marek Siarkowicz
efc8505739
etcdserver: Implement running defrag if freeable space will exceed privided threshold
2021-05-11 14:00:29 +02:00
Marek Siarkowicz
4bc1aa93e7
readme: Switch Travis CI test results badge to GitHub actions
2021-05-11 13:22:49 +02:00
Piotr Tabor
7ae55cf981
Merge pull request #12942 from ptabor/20210510-expect_debug_true-for-e2e
...
Run e2e tests with: EXPECT_DEBUG='true'
2021-05-10 19:47:57 +02:00