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

Windows: explicitly flush state file #9446

Closed
wants to merge 2 commits into from

Conversation

julianbrost
Copy link
Contributor

@julianbrost julianbrost commented Jul 18, 2022

Work in progress for testing if using a second handle for the same file is good enough for flushing previous writes to that file done using another handle (i.e. does it flush everything pending on that handle or that file). If not, we have to replace the std::fstream with something else that allows control over the underlying file handle.

Also includes another commit to actually get more useful errors if something goes wrong.

refs #8840

@cla-bot cla-bot bot added the cla/signed label Jul 18, 2022
@icinga-probot icinga-probot bot added area/windows Windows agent and plugins core/crash Shouldn't happen, requires attention core/evaluate Analyse/Evaluate features and problems labels Jul 18, 2022
@julianbrost julianbrost force-pushed the bugfix/windows-flush-state-file branch from c1cf7f3 to 6226c6d Compare July 18, 2022 13:38
@icinga-probot icinga-probot bot deleted the bugfix/windows-flush-state-file branch August 1, 2022 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/windows Windows agent and plugins cla/signed core/crash Shouldn't happen, requires attention core/evaluate Analyse/Evaluate features and problems
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant