Closed spencerdcarlson closed 1 year ago
🤔 I am not sure if this is related to libcluster. I modified nebulex_local_multilevel_adapter.ex#L202 locally to use :erpc.multicall/4 and it seems to work correctly returning appropriately and syncing the Nebulex cache on each node.
Steps to reproduce
config :slab, MyApp.Cache, local_opts: [], levels: [ {MyApp.Cache.Partitioned, []}, ]
Strategy Used
Cluster.Strategy.Gossip
Errors/Incorrect Behaviour Encountered Nebulex cache entries are updated on the Node where they are affected, but they are not broadcasted to other nodes.
Description of issue
I think :erpc.multicast/4 might not be working with
Cluster.Strategy.Gossip
strategy. While using NebulexLocalMultilevelAdapter with the Partitioned adapter as my L2 I can see my Nodes clustered by printing outNode.list()
but the Nebulex call to :erpc.multicast/4 doesn't seem to be working. If I switch to using aElixir.Cluster.Strategy.LocalEpmd
topology, everything seems to be working as expected.