Skip to content

Conversation

@vadlakondaswetha
Copy link
Collaborator

@vadlakondaswetha vadlakondaswetha commented Dec 23, 2025

Renamed ReadAt() to Read method in GCSReader interface. This is to make mrd_reader.go compatible with both GCSReader and Reader interfaces.
Added ReadAt() method in mrd_reader.go. This helps in integrating mrdReader with read_manager.go directly.

Link to the issue in case of a bug fix.

Testing details

  1. Manual - done
  2. Unit tests - done
  3. Integration tests - NA

Any backward incompatible change? If so, please explain.

@vadlakondaswetha vadlakondaswetha requested a review from a team as a code owner December 23, 2025 10:11
@github-actions github-actions bot added the remind-reviewers Auto remind reviewers in attention set for review post 24hrs of inactivity on PR. label Dec 23, 2025
@codecov
Copy link

codecov bot commented Dec 23, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.23%. Comparing base (513df1a) to head (891f71a).
⚠️ Report is 33 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4193      +/-   ##
==========================================
+ Coverage   83.19%   83.23%   +0.04%     
==========================================
  Files         153      153              
  Lines       18716    18725       +9     
==========================================
+ Hits        15570    15586      +16     
+ Misses       2577     2572       -5     
+ Partials      569      567       -2     
Flag Coverage Δ
unittests 83.23% <100.00%> (+0.04%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

// GCSReader defines an interface for reading data from a GCS object.
// This interface is intended for lower-level interactions with GCS readers.
type GCSReader interface {
// ReadAt reads data into the `Buffer` field of the provided `GCSReaderRequest`,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: Read ...

// starting from the specified offset and ending at the specified end offset.
// It returns a `ReadResponse` indicating the number of bytes successfully read and any error encountered.
ReadAt(ctx context.Context, req *GCSReaderRequest) (ReadResponse, error)
Read(ctx context.Context, req *GCSReaderRequest) (ReadResponse, error)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we use a different name here like ReadFromOffset or ReadAtOffset (or something else) since we'll be providing an explicit offset to read from? (io.Reader's Read is a stateful read where the offset to read from is being maintained & not passed explicitly)

@github-actions
Copy link

Hi @charith87, @raj-prince, your feedback is needed to move this pull request forward. This automated reminder was triggered because there has been no activity for over 24 hours. Please provide your input when you have a moment. Thank you!

9 similar comments
@github-actions
Copy link

Hi @charith87, @raj-prince, your feedback is needed to move this pull request forward. This automated reminder was triggered because there has been no activity for over 24 hours. Please provide your input when you have a moment. Thank you!

@github-actions
Copy link

Hi @charith87, @raj-prince, your feedback is needed to move this pull request forward. This automated reminder was triggered because there has been no activity for over 24 hours. Please provide your input when you have a moment. Thank you!

@github-actions
Copy link

Hi @charith87, @raj-prince, your feedback is needed to move this pull request forward. This automated reminder was triggered because there has been no activity for over 24 hours. Please provide your input when you have a moment. Thank you!

@github-actions
Copy link

Hi @charith87, @raj-prince, your feedback is needed to move this pull request forward. This automated reminder was triggered because there has been no activity for over 24 hours. Please provide your input when you have a moment. Thank you!

@github-actions
Copy link

github-actions bot commented Jan 1, 2026

Hi @charith87, @raj-prince, your feedback is needed to move this pull request forward. This automated reminder was triggered because there has been no activity for over 24 hours. Please provide your input when you have a moment. Thank you!

@github-actions
Copy link

github-actions bot commented Jan 2, 2026

Hi @charith87, @raj-prince, your feedback is needed to move this pull request forward. This automated reminder was triggered because there has been no activity for over 24 hours. Please provide your input when you have a moment. Thank you!

@github-actions
Copy link

github-actions bot commented Jan 5, 2026

Hi @charith87, @raj-prince, your feedback is needed to move this pull request forward. This automated reminder was triggered because there has been no activity for over 24 hours. Please provide your input when you have a moment. Thank you!

@github-actions
Copy link

github-actions bot commented Jan 6, 2026

Hi @charith87, @raj-prince, your feedback is needed to move this pull request forward. This automated reminder was triggered because there has been no activity for over 24 hours. Please provide your input when you have a moment. Thank you!

@github-actions
Copy link

github-actions bot commented Jan 7, 2026

Hi @charith87, @raj-prince, your feedback is needed to move this pull request forward. This automated reminder was triggered because there has been no activity for over 24 hours. Please provide your input when you have a moment. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

remind-reviewers Auto remind reviewers in attention set for review post 24hrs of inactivity on PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants