Execute clean indexes in finally#3772
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #3772 +/- ##
============================================
- Coverage 68.07% 60.16% -7.92%
+ Complexity 6648 5754 -894
============================================
Files 467 467
Lines 40829 40829
Branches 5234 5234
============================================
- Hits 27795 24564 -3231
- Misses 10772 14047 +3275
+ Partials 2262 2218 -44
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
hangc0276
left a comment
There was a problem hiding this comment.
What's the difference between moving the code block into finally?
StevenLuMT
left a comment
There was a problem hiding this comment.
I think it doesn't solve the fundamental problem.
Moved to finally, The index clean up is going on when |
|
@hangc0276 PTAL |
This reverts commit 04e572b.
Execute clean indexes in finally (apache#3772) (cherry picked from commit 04e572b)
Execute clean indexes in finally (apache#3772)
Motivation
Fixes #3771
Changes
Move cleanupExecutor to finally block to make sure it can be executed every checkpoint process.