-
Notifications
You must be signed in to change notification settings - Fork 518
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
Bug: stream_logs_by_id
incorrectly handles task retry logic
#4250
Comments
@cblmemo PTAL, thanks! |
@Michaelvll I noticed a potential issue with the retry logic placement in I think it should log retries when tasks actually fail (i.e., in the outer I might be missing something in my understanding of the task retry mechanism. Could you please take a look and verify if this is indeed an issue? cc @romilbhardwaj |
Thanks for pointing that out! I'll look into it tomorrow. |
The recent commit 46ea0d8 that adds task retry functionality misplaced the retry logic in
stream_logs_by_id
. The retry check is currently in the wrong branch of the if-else structure:Current placement:
Should be:
This bug prevents proper handling of task retries as it's checking for retries in the wrong scenario (when task completes normally) instead of when task/cluster fails.
Originally posted by @andylizf in #4169 (comment)
The text was updated successfully, but these errors were encountered: