Skip to content

Stream reader: close osiris logs and sockets in terminate #3413

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

Merged
merged 4 commits into from
Sep 13, 2021

Conversation

kjnilsson
Copy link
Contributor

Instead of injecting it into varios places inside the code.

When the osiris log is closed it will decrement the global "readers"
counter which is why it is much safer to do this in terminate.

kjnilsson and others added 4 commits September 13, 2021 11:23
Instead of injecting it into varios places inside the code.

When the osiris log is closed it will decrement the global "readers"
counter which is why it is much safer to do this in terminate.
Conflicts:
	deps/rabbitmq_stream/src/rabbit_stream_reader.erl
@michaelklishin michaelklishin merged commit c915d2e into master Sep 13, 2021
michaelklishin added a commit that referenced this pull request Sep 13, 2021
Stream reader: close osiris logs and sockets in terminate

(cherry picked from commit c915d2e)
@michaelklishin michaelklishin deleted the stream-reader-close-in-terminate branch September 13, 2021 18:12
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