Piotr Tabor
60d5159091
version: bump up to 3.5.0-alpha.0
v3.5.0-alpha.0
tests/v3.5.0-alpha.0
etcdctl/v3.5.0-alpha.0
server/v3.5.0-alpha.0
client/v3.5.0-alpha.0
client/v2.305.0-alpha.0
raft/v3.5.0-alpha.0
pkg/v3.5.0-alpha.0
api/v3.5.0-alpha.0
2021-02-24 19:55:45 +00:00
Piotr Tabor
d4d2b80608
Merge pull request #12719 from ptabor/20210224-release-scripts-fix
...
Release scripts: Minor fixes discovered during attempt for release 3.5.0-alpha.0
2021-02-24 20:19:19 +01:00
Piotr Tabor
c640957e2d
Release scripts: Minor fixes discovered during attempt for 3.5.0-alpha.0
2021-02-24 19:16:27 +00:00
Sahdev Zala
fe277f48ad
Merge pull request #12716 from iAziz786/dial-journal-typo
...
systemd: Fix typo in DialJournal documentation
2021-02-24 12:24:30 -05:00
Mohammad Aziz
252dcc9bdb
Fix typo in DialJournal
2021-02-24 22:23:27 +05:30
Piotr Tabor
db8c8c4246
Merge pull request #12711 from spzala/updatesampleconfig
...
Update debugging flag in the sample config file
2021-02-24 16:44:57 +01:00
Piotr Tabor
6b6579c767
Merge pull request #12714 from mrkm4ntr/example-apply-done-c
...
raftexample: Return an appropriate applyDoneC
2021-02-24 16:43:45 +01:00
Shintaro Murakami
5ae3f879c9
raftexample: Return an appropriate applyDoneC
2021-02-24 21:28:18 +09:00
Sahdev Zala
8d9daec3ca
Update debugging flag in the sample config file
...
Replace the deprecated debug flag.
2021-02-24 00:04:56 -05:00
Piotr Tabor
fa14a0af89
Merge pull request #12709 from ptabor/20210222-grpc1.32
...
Update grpc dependency to 1.32.
2021-02-23 12:19:28 +01:00
Piotr Tabor
1a9c81abda
Update grpc dependency to 1.32.
...
Simplify grpc testing infrastructure to align with upstream changes.
2021-02-23 11:31:50 +01:00
Piotr Tabor
57dcb037c0
Merge pull request #12706 from ptabor/20210218
...
clientv3: PS: Replace balancer with upstream grpc solution
2021-02-23 10:56:20 +01:00
Piotr Tabor
4a1c24556c
clientv3: PS: Replace balancer with upstream grpc solution
...
Addresses comments from: https://github.com/etcd-io/etcd/pull/12671#pullrequestreview-593942302
2021-02-23 10:03:15 +01:00
Piotr Tabor
1cf66ab7df
Merge pull request #12696 from mrkm4ntr/example-fix-join
...
raftexample: New joined node have to start with RestartNode
2021-02-22 19:58:10 +01:00
Piotr Tabor
e8da3c3e74
Merge pull request #12707 from viviyww/new
...
mvcc: optimize watch logic of watchableStore
2021-02-22 19:45:55 +01:00
yangweiwei
7ef6ebd5eb
mvcc: optimize watch logic of watchableStore
...
Optimize watchableStore.watch func
2021-02-22 14:10:25 +08:00
Shintaro Murakami
cb0d256a18
raftexample: Add test for adding new node to existing cluster
2021-02-22 13:44:33 +09:00
Shintaro Murakami
1b1be43d65
raftexample: New joined node have to start with RestartNode
2021-02-22 09:45:44 +09:00
Piotr Tabor
8d1a8ce044
Merge pull request #12701 from mrkm4ntr/example-notify-all-aplied
...
raftexample: Explicitly notify all committed entries are applied
2021-02-20 22:34:42 +01:00
Gyuho Lee
3d7aac948b
Merge pull request #12196 from ironcladlou/metrics-watch-error-fix
...
etcdserver: fix incorrect metrics generated when clients cancel watches
2021-02-19 12:46:49 -08:00
Sam Batschelet
49078c683b
*: add support for socket options
...
Signed-off-by: Sam Batschelet <sbatsche@redhat.com>
2021-02-19 13:31:23 -05:00
Shintaro Murakami
cc2b039817
raftexample: Explicitly notify all committed entries are applied
2021-02-19 19:26:36 +09:00
Gyuho Lee
70ac39fd98
Merge pull request #12699 from spzala/removemixinfromdoc
...
Remove mixin from doc
2021-02-19 00:04:14 -08:00
Sahdev Zala
7fca120587
Remove mixin from doc
...
The kube-prometheus team has made necessary changes and not
using the mixin from doc any more.
2021-02-18 18:44:19 -05:00
Piotr Tabor
b67ed4e4aa
Merge pull request #12671 from ptabor/20210207-grpc-del-balancer
...
clientv3: Replace balancer with upstream grpc solution
2021-02-17 22:45:13 +01:00
Piotr Tabor
cc99c3631f
Merge pull request #12695 from mrkm4ntr/example-report
...
raftexample: Implement ReportUnreachable and ReportSnapshot
2021-02-17 09:16:36 +01:00
Shintaro Murakami
2d25f7f3da
raftexample: Implement ReportUnreachable and ReportSnapshot
2021-02-17 11:59:32 +09:00
Tobias Grieger
73c50b869a
Merge pull request #12637 from BusyJay/check-outgoingvoters-when-restoring
...
raft: check `VotersOutgoing` for snapshot
2021-02-16 09:43:08 +01:00
Piotr Tabor
47b2506fcb
Merge pull request #12670 from postgrespro/customizable_raft_connection_timeouts
...
raft: makes 'ConnReadTimeout/ConnWriteTimeout' customizable
2021-02-16 09:07:41 +01:00
Piotr Tabor
24d02586c1
Merge pull request #12691 from mrkm4ntr/example-save-snap-before-wal
...
raftexample: Save snapshot file before writing to wal
2021-02-16 08:55:33 +01:00
Shintaro Murakami
1302e1edb2
raftexample: Save snapshot file before writing to wal
2021-02-16 13:30:15 +09:00
Tobias Grieger
719f6ce06f
Merge pull request #11964 from hicqu/fast-log-rejection
...
raft: implement fast log rejection
2021-02-15 13:47:03 +01:00
Tobias Grieger
c1e8d3a63f
Clarify documentation of probing
...
- Add a large detailed comment about the use and necessity of
both the follower and leader probing optimization
- fix the log message in stepLeader that previously mixed up the
log term for the rejection and the index of the append
- improve the test via subtests
- add some verbiage in findConflictByTerm around first index
2021-02-15 09:47:18 +01:00
Piotr Tabor
3ef8a2d30a
Merge pull request #12688 from etcd-io/revert-12687-removemixindoc
...
Revert "Remove mixin from Doc"
2021-02-11 20:12:45 +01:00
Sahdev Zala
9fed697435
Revert "Remove mixin from Doc"
2021-02-11 13:59:26 -05:00
Piotr Tabor
080453d416
Merge pull request #12687 from spzala/removemixindoc
...
Remove mixin from Doc
2021-02-11 15:52:35 +01:00
Sahdev Zala
6ff00fd202
Remove mixin from Doc
...
Mixin is moved under contrib and kube-prometheus team is now using
it from new location.
2021-02-11 09:09:38 -05:00
Piotr Tabor
63cb3c97b7
Merge pull request #12686 from ptabor/20210211-prometheous-mixin
...
Migrate back mixin to contrib/
2021-02-11 13:07:34 +01:00
Piotr Tabor
77e6df28cf
Merge pull request #12675 from ptabor/20210209-grpc-remove-legacy-resolver
...
Cleanup grpc client/v3/naming API
2021-02-11 09:31:48 +01:00
Piotr Tabor
1395a1a795
Migrate back mixin to contrib/
...
The mixin was moved out together with documentation.
This broke kube-prometheous: https://github.com/etcd-io/etcd/issues/12685#issuecomment-777264143
2021-02-11 09:28:30 +01:00
Sahdev Zala
023aec9151
Merge pull request #12683 from nate-double-u/97-restore-etcd-mixin
...
Restoring etcd-mixin folder
2021-02-10 21:01:30 -05:00
Nate W
433e7a0e95
Restoring etcd-mixin
...
Restoring Documentation/etcd-mixin folder for kube-prometheus use as per conversations in issue https://github.com/etcd-io/website/issues/97
Signed-off-by: Nate W <4453979+nate-double-u@users.noreply.github.com>
2021-02-10 15:38:49 -08:00
Sahdev Zala
d33a1c91f0
Merge pull request #12660 from nate-double-u/97-remove-docs-from-etcd
...
Migrate documentation: Remove docs from etcd-io/etcd
2021-02-10 16:39:18 -05:00
qupeng
6828517965
raft: implement fast log rejection
...
Signed-off-by: qupeng <qupeng@pingcap.com>
2021-02-10 15:48:32 -05:00
Nathan VanBenschoten
b757e1bc87
raft: create new probe_and_replicate.txt interactive test
...
This commit creates a new probe_and_replicate.txt interactive test. The
test creates a complete Raft log configuration and demonstrates how a
leader probes and replicates to each of its followers. The log
configuration constructed is identical to the one present in Figure 7 of
the raft paper (https://raft.github.io/raft.pdf ), which looks like:
```
1 2 3 4 5 6 7 8 9 10 11 12
n1: [1][1][1][4][4][5][5][6][6][6]
n2: [1][1][1][4][4][5][5][6][6]
n3: [1][1][1][4]
n4: [1][1][1][4][4][5][5][6][6][6][6]
n5: [1][1][1][4][4][5][5][6][7][7][7][7]
n6: [1][1][1][4][4][4][4]
n7: [1][1][1][2][2][2][3][3][3][3][3]
```
Once in this state, we then elect node 1 as the leader and stabilize the
entire raft group. This demonstrates how a newly elected leader probes
for matching indexes, overwrites conflicting entries, and catches up all
followers.
This will be useful to demonstrate the impact of more efficient probing
behavior.
2021-02-10 15:02:36 -05:00
Nate W
2afa5ff45f
removing Documentation from etcd-io/etcd
...
Leaving docs, files, etc that are required for generated documentation
fixes https://github.com/etcd-io/website/issues/97
Signed-off-by: Nate W <4453979+nate-double-u@users.noreply.github.com>
2021-02-10 11:14:40 -08:00
Piotr Tabor
e8ba375032
Merge pull request #11889 from mrkm4ntr/example-recover-from-snap
...
raftexample: Fix recovery from snapshot
2021-02-10 12:18:30 +01:00
Maksim Buldukyan
7e38cfcc8d
raft: makes 'ConnReadTimeout/ConnWriteTimeout' customizable
2021-02-10 10:36:50 +07:00
Piotr Tabor
a836a8045b
Get rid of legacy client/v3/naming API.
...
Update grpcproxy to use the new abstractions.
2021-02-09 11:56:28 +01:00
Gyuho Lee
44c889a8ce
Merge pull request #12677 from chaochn47/reduce_verbosity_of_etcd_server_side_success_health_check_logs
...
etcdserver/api/etcdhttp: log successful etcd server side health check in debug level
2021-02-08 21:15:25 -08:00