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

terminateAndRecover function for Actor #241

Closed
simerplaha opened this issue Aug 10, 2020 · 0 comments
Closed

terminateAndRecover function for Actor #241

simerplaha opened this issue Aug 10, 2020 · 0 comments

Comments

@simerplaha
Copy link
Owner

Recovery in Actors is invoked only when messages are being send to a terminated actor or if processing a messages throws an Exception. Recovery is not invoked on queued/unprocessed messages after termination.

A terminateAndRecover function is needed which would apply recovery function to all queued/unprocessed messages. This function is needed for deleting memory-mapped files on Windows (see #156) specifically when invoking db.delete() and db.close().

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

No branches or pull requests

1 participant