-
Notifications
You must be signed in to change notification settings - Fork 467
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
Remove redundant shutdown check in batchlogprocessor #2514
Remove redundant shutdown check in batchlogprocessor #2514
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2514 +/- ##
=====================================
Coverage 77.9% 77.9%
=====================================
Files 123 123
Lines 22953 22944 -9
=====================================
- Hits 17881 17879 -2
+ Misses 5072 5065 -7 ☔ View full report in Codecov by Sentry. |
So, we don't go with the approach in #2462 - i.e., having |
Irrespective of that, this check is redundant, as processor's shutdown() cannot be called without going through provider, which already checks for duplicate shutdown. |
yes, #2462 does same thing, by removing the |
Got it. I'll revisit 2462 again. We discussed this a bit in yesterday's SIG too. I will share more comments/thoughts on that PR. |
The check is already done by the LogProvider.