-
Notifications
You must be signed in to change notification settings - Fork 119
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
fix: pipeline pausing race conditions of draining and terminating source #2131
Conversation
Signed-off-by: Sidhant Kohli <[email protected]>
Signed-off-by: Sidhant Kohli <[email protected]>
I'm curious - are you able to explain now what could've caused |
From the logs I captured, I was able to see the status getting reflected to Paused in memory for sure. In the next reconciliation process (which begins almost immediately) that got triggered we started from running again and due to a race we stay in pausing as we are not able to drain out the buffers. |
That's interesting but I still don't understand what would cause the write to etcd not to occur (unless it is writing and the watch is skipping changes). |
Signed-off-by: Sidhant Kohli <[email protected]>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2131 +/- ##
==========================================
- Coverage 64.10% 64.06% -0.04%
==========================================
Files 325 325
Lines 31558 31574 +16
==========================================
- Hits 20229 20227 -2
- Misses 10277 10295 +18
Partials 1052 1052 ☔ View full report in Codecov by Sentry. |
Signed-off-by: Sidhant Kohli <[email protected]>
LGTM as far as I can tell |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The logic change looks good to me, it would be better to have more appropriate variable and function names.
Signed-off-by: Sidhant Kohli <[email protected]>
…rce (#2131) Signed-off-by: Sidhant Kohli <[email protected]>
Explain what this PR does.