-
Notifications
You must be signed in to change notification settings - Fork 592
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
cloud_storage: re-adopt topic_manifest #19666
Conversation
The file is huge and means that we are required to include v_cluster if we want to use the topic_manifest which just serializes the topic properties. This commit moves properties to their own file. A subsequent commit will make it its own independent library.
new failures in https://buildkite.com/redpanda/redpanda/builds/50129#0190095e-9bed-4d82-8181-4144f1b198ee:
new failures in https://buildkite.com/redpanda/redpanda/builds/50151#01900b48-691c-4efb-93d3-fe7fd572d4bb:
new failures in https://buildkite.com/redpanda/redpanda/builds/50151#01900bba-fff1-4c31-a003-90c278a4f0c6:
|
CI failure: #14225 |
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.
lgtm
../cloud_storage/topic_manifest.cc | ||
HDRS | ||
../cloud_storage/topic_manifest.h |
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.
ah cool
This pulls out topic configuration out of types.h so it can more easily be depended on. I intend to have cloud_storage depend on just the topic configuration so the manifest code can move back into v_cloud_storage.
58f7aa0
to
d617040
Compare
Now that topic_properties don't depend on the rest of types.h, this commit introduces a new v_cluster_topic_properties that cloud_storage can depend on without introducing a circular dependency. With this in hand, this commit pull topic_manifest back into v_cloud_storage. The motivation here is that I have some upcoming changes for downloading topic manifests that feel much more natural being in v_cloud_storage.
d617040
to
c730b83
Compare
First, moves topic configuration out of types.h.
The file is huge and means that we are required to include v_cluster if
we want to use the topic_manifest which just serializes the topic
properties.
Now that topic_properties don't depend on the rest of types.h, this
commit introduces a new v_cluster_topic_properties that cloud_storage
can depend on without introducing a circular dependency. With this in
hand, this commit pull topic_manifest back into v_cloud_storage.
The motivation here is that I have some upcoming changes for downloading
topic manifests that feel much more natural being in v_cloud_storage.
Backports Required
Release Notes