Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GEODE-10396: Avoid endpoint closure upon exception #977

Closed

Conversation

gaussianrecurrence
Copy link
Contributor

  • Currently whenever a server function is executed on a region with no
    filter, if an IllegalStateException wrapped within a
    FunctionException is thrown inside the server fuction body, then
    the endpoint's connections are closed, given the client considers the
    endpoint is failing.
  • In order to solve this, now it's checked if the exception is wrapped
    into a FunctionException before triggering the endpoint disconnection
    mechanism.
  • A new IT has been added to verify the behavior.

 - Currently whenever a server function is executed on a region with no
   filter, if an IllegalStateException wrapped within a
   FunctionException is thrown inside the server fuction body, then
   the endpoint's connections are closed, given the client considers the
   endpoint is failing.
 - In order to solve this, now it's checked if the exception is wrapped
   into a FunctionException before triggering the endpoint disconnection
   mechanism.
 - A new IT has been added to verify the behavior.
@gaussianrecurrence
Copy link
Contributor Author

I haven't had the time to work on this for a long time or I think I'll have the opportunity to in the near future, hence I am closing this PR, if anyone wants to tackle this issue can take it up from its latest state.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant