Revision 04c9e8b5314e0d8e6797927b1e98503cffaba243 authored by Piotr Tabor on 10 May 2021, 14:09:49 UTC, committed by Piotr Tabor on 10 May 2021, 15:46:31 UTC
The motivation is need to diagnose flakes like: https://semaphoreci.com/etcd-io/etcd/branches/pull-request-12940/builds/2. Now - when the logs are streamed through testing.T logger, the verbosity is not that significant concern.
1 parent 74d7d33
Procfile.learner
# Use goreman to run `go get github.com/mattn/goreman`
# 1. Start the cluster using Procfile
# 2. Add learner node to the cluster
# % etcdctl member add infra4 --peer-urls="http://127.0.0.1:42380" --learner=true
# 3. Start learner node with goreman
# Change the path of bin/etcd if etcd is located elsewhere
etcd4: bin/etcd --name infra4 --listen-client-urls http://127.0.0.1:42379 --advertise-client-urls http://127.0.0.1:42379 --listen-peer-urls http://127.0.0.1:42380 --initial-advertise-peer-urls http://127.0.0.1:42380 --initial-cluster-token etcd-cluster-1 --initial-cluster 'infra4=http://127.0.0.1:42380,infra1=http://127.0.0.1:12380,infra2=http://127.0.0.1:22380,infra3=http://127.0.0.1:32380' --initial-cluster-state existing --enable-pprof --logger=zap --log-outputs=stderr
# 4. The learner node can be promoted to voting member by the command
# % etcdctl member promote <memberid>
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...