-
Notifications
You must be signed in to change notification settings - Fork 20
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
refactor: move segment manifest cache to fetch module #484
Conversation
be5f6ff
to
3b8678f
Compare
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.
Expanding to make it compatible with RSMConfig defaults
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.
Cover all defaults config tests + new set default option
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.
Handled by CacheConfigTest already
@@ -0,0 +1,123 @@ | |||
/* | |||
* Copyright 2023 Aiven Oy |
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.
not new, but moving+renaming SegmentManifestProvider
Moving the segment-manifest fetching to the fetch module helps to align with other caches and reuse configuration. Following work should help to align cache config for chunk caching.
3b8678f
to
11d4afe
Compare
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.
👍
Context: There were some previous efforts on defining generic cache config. This follows up on that by making the SegmentManifest fetching reuse this definition. It also aligns with the SegmentIndexes fetching.
Moving the segment-manifest fetching to the fetch module helps to align with other caches and reuse configuration.
Following work should help to align cache config for chunk caching.