Skip to content

Conversation

stanley2058
Copy link
Collaborator

In a distributive architecture, the stream could be deleted from another instance without the current running instance noticing. It's not a problem since data would not be lost (the stream is only deleted after data persistence), but we should still try to handle this error case.

In this PR, we check if the stream exists before trying to do any operation on it to avoid this race condition from happening.

@stanley2058
Copy link
Collaborator Author

Streams should always exist when trimming after #26

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