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

[1.0.1] Flush deep-mind logger after each message #733

Merged
merged 1 commit into from
Sep 10, 2024

Conversation

heifner
Copy link
Member

@heifner heifner commented Sep 10, 2024

fflush each deep-mind log message.

Attempt to resolve #724, reported from issue's creator that this fixes the issue they were seeing.

@heifner heifner added the OCI Work exclusive to OCI team label Sep 10, 2024
@heifner heifner marked this pull request as ready for review September 10, 2024 17:08
Copy link
Member

@spoonincode spoonincode left a comment

Choose a reason for hiding this comment

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

I am extremely skeptical this fixes any EBADF failure. If it's empirically behaving better it's probably just some timing difference or such.

But it does seem like we should be fflush()ing to ensure the reader always gets the final log messages of a block promptly.

@heifner heifner merged commit 43dfb56 into release/1.0 Sep 10, 2024
36 checks passed
@heifner heifner deleted the GH-724-dmlog-flush branch September 10, 2024 18:29
@ericpassmore ericpassmore added the enhancement New feature or request label Sep 10, 2024
@ericpassmore
Copy link
Contributor

Note:start
category: Other
component: DeepMind
summary: Flush DeepMind Logger after each message.
Note:end

@arhag arhag added this to the Spring v1.0.1 milestone Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request OCI Work exclusive to OCI team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

When starting firehose from a snapshot on kylin, nodeos terminates with DMLOG FPRINTF_FAILURE_TERMINATED
5 participants