Commit 6d02e18
committed
fix: handle :system_not_started error in cluster restart
When Ra system hasn't been initialized on a node yet, :ra.stop_server
returns {:error, :system_not_started} which wasn't being handled,
causing a TryClauseError.
Added case clause to handle :system_not_started and skip the stop
operation gracefully. The start_server call will still work to
initialize the cluster.1 parent 922c8f5 commit 6d02e18
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
65 | 68 | | |
66 | 69 | | |
67 | 70 | | |
| |||
0 commit comments