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

[4.0] SHiP: Fixes: Stack overflow, invalid index, split file access #1779

Merged
merged 7 commits into from
Oct 19, 2023

Conversation

heifner
Copy link
Member

@heifner heifner commented Oct 16, 2023

Includes three SHiP state_history_plugin fixes:

  • Fix for stack overflow due to recursive call to send(). Fixed by posting to the SHiP thread on new send()s.
  • Fix for accessing wrong data after log splitting.
  • Fix for accessing wrong file after log splitting.

Resolves #1677

@heifner heifner added the OCI Work exclusive to OCI team label Oct 16, 2023
@heifner heifner linked an issue Oct 16, 2023 that may be closed by this pull request
Copy link
Member

@linh2931 linh2931 left a comment

Choose a reason for hiding this comment

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

This PR fixes several issues. Can a test be added for each of them?

@heifner heifner requested a review from linh2931 October 17, 2023 15:43
…file descriptors seems like overkill and is difficult to follow/verify is correct.
}

new_log_file.close();
new_index_file.close();
Copy link
Member

Choose a reason for hiding this comment

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

like this simplification.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCI Work exclusive to OCI team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Leap 4.0.4 - Exception in SHiP thread pool
3 participants