Make realtime indexes pluggable#8279
Conversation
d678896 to
e7dfaff
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #8279 +/- ##
=============================================
- Coverage 70.82% 14.14% -56.69%
+ Complexity 4239 81 -4158
=============================================
Files 1631 1588 -43
Lines 85461 83678 -1783
Branches 12877 12677 -200
=============================================
- Hits 60527 11833 -48694
- Misses 20749 70961 +50212
+ Partials 4185 884 -3301
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:
|
e7dfaff to
b839e30
Compare
b839e30 to
f07e794
Compare
sajjad-moradi
left a comment
There was a problem hiding this comment.
Looks good. I left a few minor comments.
|
@sajjad-moradi We rarely block a PR unless the code design is completely broken. I looked at the comments and I see that you have mentioned that most of them are subjective. Can you please unblock us if what you are requesting is subjective. Thanks for understanding. |
8c615ff to
b8c860b
Compare
Of course. Didn't know about this convention. The PR really looks good in general. |
Thanks, I felt it was important to run the changes past you or @mcvsubbu as a courtesy, because you might need to debug something introduced here, but when it comes to naming (or composition vs inheritance) there tend to be as many opinions as there are people. |
This is PR simply moves static realtime index provisioning logic out of
MutableSegmentImpl's constructor and into a default implementation of an SPI which can overridden. This PR follows an identical approach to making offline indexes pluggable, the rationale and approach were described in #7895.The changes depend on a of package move (#8278) which I would like to get merged in before rebasing this PR to reduce the surface area of this one.