fix: run observer_web as hidden node to stop OTP global splitting IFT Mnesia cluster.
Without --hidden, observer joins the visible mesh and prevent_overlapping_partitions disconnects eventhub-node1/2 (running_partitioned_network → admin verification-token 404 in e2e).
This commit is contained in:
Regular → Executable
+4
-1
@@ -39,4 +39,7 @@ COPY docker/observer_web/dev.exs ./dev.exs
|
||||
EXPOSE 4000
|
||||
|
||||
ENV RELEASE_COOKIE=eventhub_cookie
|
||||
CMD elixir --sname observer_web@observer_web --cookie "${RELEASE_COOKIE}" -S mix run --no-halt dev.exs
|
||||
# --hidden: observer must not join the visible global mesh. Without it, OTP
|
||||
# prevent_overlapping_partitions disconnects eventhub-node1 <-> eventhub-node2
|
||||
# when observer connects to both (Mnesia running_partitioned_network → e2e 404).
|
||||
CMD elixir --hidden --sname observer_web@observer_web --cookie "${RELEASE_COOKIE}" -S mix run --no-halt dev.exs
|
||||
|
||||
Reference in New Issue
Block a user