-
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
Reduce raft deps #18043
Reduce raft deps #18043
Conversation
Move basic named type aliases from `metadata.h` to `fundamental.h`. There is not clear separation between the two but the metadata file contains less common and more complex types. It should be enough to include the `fundamental.h` for most of the cases. Signed-off-by: Michał Maślanka <michal@redpanda.com>
Previously we included `raft/types.h` in every generated RPC service stub. This isn't now required as we moved the definition of transfer leadership related types to separate file. Signed-off-by: Michał Maślanka <michal@redpanda.com>
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.
🔥
Signed-off-by: Michał Maślanka <michal@redpanda.com>
Raft `types.h` file contains a lot of definitions that are raft internal. Now that we have `raft/fundamentals.h` we can remove the dependency on `types.h` file Signed-off-by: Michał Maślanka <michal@redpanda.com>
a98276b
to
79bf7ee
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.
Nice
new failures in https://buildkite.com/redpanda/redpanda/builds/48208#018f0ffd-f7f5-4ad2-b8a2-7f824dff1853:
new failures in https://buildkite.com/redpanda/redpanda/builds/48208#018f102a-b8b5-49f0-a224-3679950e5d4e:
|
/ci-repeat 1 |
Raft
types.h
file contains a lot of definitions that are raft internal. Now that we haveraft/fundamentals.h
we can remove the dependency ontypes.h
fileBackports Required
Release Notes