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
It seems as if the res argument in handle_rpc_multi_call/3 can be an empty list in some scenarios? in one of the pattern matches hd/1 can be called on that list throwing a badarg error:
$DATE [info]module=xxxline=290 pid=<0.14531.45>|Terminating process for x/27--{:badarg,[{:erlang,:hd,[[]],[]},{Nebulex.Adapters.Replicated,:handle_rpc_multi_call,3,[file: 'lib/nebulex/adapters/replicated.ex',line: 568]},{Nebulex.Adapters.Replicated,:do_transaction,6,[file: 'lib/nebulex/adapters/replicated.ex',line: 264]},{:global,:trans,4,[file: 'global.erl',line: 429]},{Nebulex.Adapters.Replicated,:put,6,[file: 'lib/nebulex/adapters/replicated.ex',line: 405]},{Nebulex.Adapters.Replicated,:"-put/6-fun-0-",7,[file: 'lib/nebulex/adapters/replicated.ex',line: 404]},{:telemetry,:span,3,[file: '/tomahawk/deps/telemetry/src/telemetry.erl',line: 293]},{Nebulex.Cache.Entry,:put,4,[file: 'lib/nebulex/cache/entry.ex',line: 42]}]}
The text was updated successfully, but these errors were encountered:
Hey! sorry for the lateness, the good news is I found the root of the issue and it is fixed now. Please try it out and let me know if it worked. In the meantime, I will close the issue but feel free to reopen it if you come across the error again.
It seems as if the
res
argument inhandle_rpc_multi_call/3
can be an empty list in some scenarios? in one of the pattern matcheshd/1
can be called on that list throwing a badarg error:The text was updated successfully, but these errors were encountered: