Server does not handle an undefined value in make_rpc_effect #514
Replies: 3 comments 1 reply
-
| 
         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.
-
| 
         i've been able to somehow reproduce this and it seems that it was caused by  in my opinion a validation of the options like the one in the link above should be added to ra or at least documented better  | 
  
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
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
undefineddespite the spec forra_log:snapshot_index_term/1also 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