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

Update to exception processing doc #614

Closed
wants to merge 8 commits into from
Closed

Update to exception processing doc #614

wants to merge 8 commits into from

Conversation

daw3rd
Copy link
Member

@daw3rd daw3rd commented Sep 23, 2024

Why are these changes needed?

clarity

Related issue number (if any).

@daw3rd daw3rd requested a review from blublinsky September 23, 2024 15:11
the transform should either
* throw any exception in `__init__()`, or
* throw an UnrecoverableException from AbstractBinaryTransform's `transform_binary`, `flush_binary(), or
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

throwing any exception in __init__() will not terminate the process. It will just continue re creating an actor

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so what happens, effectively, to the actor and the processing of data when init() throws an exception. I would presume that no data is processed by an actor that gets an exception in init(),and since all actors likely get the same exception, all data processing is ended?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added more precise doc in #616

@daw3rd
Copy link
Member Author

daw3rd commented Sep 25, 2024

This was done in PR #616

@daw3rd daw3rd closed this Sep 25, 2024
@daw3rd daw3rd reopened this Sep 25, 2024
@daw3rd
Copy link
Member Author

daw3rd commented Sep 25, 2024

commited additional .md changes, so re-opening

@daw3rd daw3rd requested a review from touma-I September 25, 2024 14:47
@daw3rd daw3rd closed this Sep 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants