Handle Already Dropped Caller#62
Open
samharnack wants to merge 2 commits intophoenixframework:mainfrom
Open
Conversation
Member
|
Can you share a specific match error, or the line that fails? We are matching on state.calls in a couple places, so I just want to be sure before I review. Thanks! |
Author
|
It was matching against an empty map I don't have the exact error anymore; I'll see if I can get it to happen again and provide the stack trace. This could also be added as another case here: I don't know if its related, but I'm also seeing this error occasionally: |
Author
|
Finally got the exception 🎉 |
Member
|
It may be better to make sure we don't call drop_caller if it has been dropped already, rather than making every call now potentially "soft"? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I periodically get a match error when a caller is dropped that doesn't exist in
Terminator.calls. I'm not sure how to test for this or even how it gets in this state in the first place. Does anyone have any insight into this?