-
Notifications
You must be signed in to change notification settings - Fork 552
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: various non-functional changes #16886
Conversation
Within the remote partition reader, we maintain a segment reader previously named `_reader`. Since partition reader is also a reader, it can be confusing to read the code without that context. This renames it to `_seg_reader`.
@@ -1130,7 +1130,7 @@ class remote_segment_batch_consumer : public storage::batch_consumer { | |||
const model::ntp& ntp, | |||
retry_chain_node& rtc) | |||
: _config(conf) | |||
, _parent(parent) | |||
, _seg_reader(parent) |
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.
Do you think the c-tor argument should also be renamed for consistency?
could you also please backport this, it touches a lot of code so there could be merge conflicts when we will backport future PRs |
will do |
/backport v23.3.x |
/backport v23.2.x |
Failed to create a backport PR to v23.2.x branch. I tried:
|
Some non-functional changes that I noticed while reading through the read path:
_seg_reader
, rather than_parent
or_reader
Backports Required
Release Notes