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

Fix datastream lifetime. #112

Open
wants to merge 7 commits into
base: develop
Choose a base branch
from
Open

Conversation

ehpor
Copy link
Collaborator

@ehpor ehpor commented Jun 29, 2023

This PR is for a potential bug in data stream lifetime. (see comment below)

Fixes #113.

@ehpor ehpor added the bugfix Fixing of a bug label Jun 29, 2023
@ehpor ehpor self-assigned this Jun 29, 2023
@ehpor
Copy link
Collaborator Author

ehpor commented Jun 30, 2023

I was mistaken in my original thinking that this was a bug. However, this PR still adds error messages that will more clearly indicate errors in the future. In addition, this PR adds a test for datastream lifetime, which ensures that we do not deviate from the current expected behaviour. This will catch any bugs when rewriting parts of the datastream code in the future.

@ehpor ehpor marked this pull request as ready for review June 30, 2023 23:36
RemiSoummer
RemiSoummer previously approved these changes Jul 1, 2023
Copy link
Collaborator

@RemiSoummer RemiSoummer left a comment

Choose a reason for hiding this comment

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

LGTM @ehpor, I have not run the test myself, but that sounds like a great idea to add that in case there is a problem later, especially in light of the recent issues we found on CI that are really had to debug without any additional info.

@ehpor ehpor force-pushed the bugfix/shared_memory_unlink branch from cdc1f07 to a55382a Compare February 29, 2024 21:49
@RemiSoummer RemiSoummer dismissed their stale review April 5, 2024 20:37

We need to test this more extensively, so I don't want to merge accidentally

@ehpor ehpor force-pushed the bugfix/shared_memory_unlink branch from 8238e5a to 9bbc173 Compare September 18, 2024 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix Fixing of a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Potential bug when reopening datastream after it has closed already.
2 participants