Server does not handle an undefined value in make_rpc_effect #514
Replies: 2 comments
-
the reason there is no handling of the Sharing the server's on disk state could be helpful. Also exactly which version of Ra you are using. |
Beta Was this translation helpful? Give feedback.
-
@gianluca-nitti an exception in your app does not necessarily mean a problem in Ra. We cannot suggest anything without seeing your code and having a way to reproduce. I'm afraid you will have to investigate this on your own and find a way to reduce it down to an executable test [case]. |
Beta Was this translation helpful? Give feedback.
-
Describe the bug
I got this error while stress testing an application using ra:
Looking at the code we realized that indeed this case block has no clause to match
undefined
despite the spec forra_log:snapshot_index_term/1
also includes that atom in the return type.Reproduction steps
Unfortunately I am not able to deterministically reproduce it. It has happened a couple of times while frequently making calls to a ra server, with a ra machine running on a cluster of 2 nodes.
Expected behavior
Server should not crash.
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions