Skip to content

[v2-11-test] Stop streaming task logs if end of log mark is missing #51904

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

Open
wants to merge 2 commits into
base: v2-11-test
Choose a base branch
from

Conversation

jedcunningham
Copy link
Member

Sometimes, somehow, the end of log mark can be missing, and when that
happens the streaming log reader enters an infinite loop. Instead, if
the task is in a non-running state and we stop receiving log lines but
never get the end of log mark, we assume we won't and stop trying. We do
tell emit that we are stopping though.

Backport of #50715.

Sometimes, somehow, the end of log mark can be missing, and when that
happens the streaming log reader enters an infinite loop. Instead, if
the task is in a non-running state and we stop receiving log lines but
never get the end of log mark, we assume we won't and stop trying. We do
tell emit that we are stopping though.
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.

1 participant