You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
workaround to restart on member already bootstrapped (#2073)
<!-- Describe your change here -->
Closes#1937
Add workaround for known etcd cluster join issue by setting the
ETCD_INITIAL_CLUSTER_STATE environment variable to "existing" (default
is "new").
Notes:
- This workaround is effective as long as the peer maintains its network
configuration; which determines its etcd member ID and keeps it stable
upon restarts, even on newly created persistence.
- When set to "existing", the etcd member attempts to join an already
bootstrapped cluster.
- If the value is incorrect, etcd will attempt to start but fail safely.
---
<!-- Consider each and tick it off one way or the other -->
* [X] CHANGELOG updated or not needed
* [X] Documentation updated or not needed
* [X] Haddocks updated or not needed
* [X] No new TODOs introduced or explained herafter
---------
Signed-off-by: Sasha Bogicevic <[email protected]>
Copy file name to clipboardExpand all lines: docs/docs/known-issues.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,7 @@ Known errors are:
33
33
-`configuredPeers` - peers info coming from `hydra-node` arguments.
34
34
35
35
-`member ... has already been bootstrapped` - missing information in `<persistence-dir>/etcd`
36
-
-need to bootstrap new cluster or manual workarounds, see also https://etcd.io/docs/v3.5/op-guide/failures/
36
+
-restart your hydra-node with the `ETCD_INITIAL_CLUSTER_STATE` environment variable set to `existing` (`new` is the default), see also https://etcd.io/docs/v3.3/op-guide/configuration/
37
37
38
38
We should be able to work around these UX issues using [etcd discovery](https://etcd.io/docs/v3.5/op-guide/clustering/#etcd-discovery) eventually.
0 commit comments