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
3, I run the following commands to setup nodes in order
$iex --sname app1 -S mix
$iex --sname unknown -S mix
4, Refer the Example in https://hexdocs.pm/swarm/readme.html , I start some workers in unknown node, and then I find some workers started in app1 node as expected, but some workers started in unknown node as unexpected, why the Swarm's distribution algorithm will use the excluded nodes (NOT in node whitelist) to register workers?
Hi,
I'm new to Swarm, I find the following case doesn't work as expected, please advise if any misunderstanding.
1, Here is node whitelist config in
config.exs
:2, Here is libcluster config in
dev.exs
:3, I run the following commands to setup nodes in order
$iex --sname app1 -S mix
$iex --sname unknown -S mix
4, Refer the Example in https://hexdocs.pm/swarm/readme.html , I start some workers in
unknown
node, and then I find some workers started inapp1
node as expected, but some workers started inunknown
node as unexpected, why the Swarm's distribution algorithm will use the excluded nodes (NOT in node whitelist) to register workers?Hex env:
Hex: 0.15.0
Elixir: 1.4.2
OTP: 19.2.3
Deps tree:
├── libcluster ~> 2.0 (Hex package)
│ └── poison ~> 3.0 (Hex package)
├── timex ~> 3.0 (Hex package)
│ ├── combine ~> 0.7 (Hex package)
│ ├── gettext ~> 0.10 (Hex package)
│ └── tzdata ~> 0.1.8 or ~> 0.5 (Hex package)
│ └── hackney ~> 1.0 (Hex package)
│ ├── certifi 1.0.0 (Hex package)
│ ├── idna 4.0.0 (Hex package)
│ ├── metrics 1.0.1 (Hex package)
│ ├── mimerl 1.0.2 (Hex package)
│ └── ssl_verify_fun 1.1.1 (Hex package)
├── sweet_xml ~> 0.6.5 (Hex package)
├── httpoison ~> 0.11.0 (Hex package)
│ └── hackney ~> 1.7.0 (Hex package)
├── swarm ~> 3.0 (Hex package)
│ ├── gen_state_machine ~> 2.0 (Hex package)
│ └── libring ~> 1.0 (Hex package)
└── distillery ~> 1.0 (Hex package)
Thanks
The text was updated successfully, but these errors were encountered: