Skip to content

Added iostats get request callback to streamReader#317

Merged
ozkoca merged 2 commits intoawslabs:physical-io-featurefrom
ozkoca:physical-io-feature-iostats-callback
Jul 15, 2025
Merged

Added iostats get request callback to streamReader#317
ozkoca merged 2 commits intoawslabs:physical-io-featurefrom
ozkoca:physical-io-feature-iostats-callback

Conversation

@ozkoca
Copy link
Collaborator

@ozkoca ozkoca commented Jul 14, 2025

Description of change

This PR moves IOStat callback method request from Block to StreamReader. Needs to be done as part of code rebase


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and I agree to the terms of the Developer Certificate of Origin (DCO).

verify(mockMetrics).add(MetricKey.GET_REQUEST_COUNT, 1);
verifyNoMoreInteractions(mockMetrics);
verify(block).setData(testData);
verify(mockOpenStreamInfo.getRequestCallback(), times(1)).onGetRequest();
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we can create mock callback directly and create real OpenStreamInformation with mock callback

OpenStreamInformation openStreamInfo = OpenStreamInformation.builder()
    .requestCallback(mockCallback)
    .build();

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

addressed in the next commit

Copy link
Contributor

@vaibhav5140 vaibhav5140 left a comment

Choose a reason for hiding this comment

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

+1, LGTM

@ozkoca ozkoca merged commit c71890f into awslabs:physical-io-feature Jul 15, 2025
@ozkoca ozkoca deleted the physical-io-feature-iostats-callback branch July 15, 2025 10:09
ozkoca added a commit to ozkoca/analytics-accelerator-s3 that referenced this pull request Jul 21, 2025
Added iostats get request callback to streamReader (awslabs#317)

This PR moves IOStat callback method request from Block to StreamReader.
Needs to be done as part of code rebase

---

By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 license and I agree to the terms of
the [Developer Certificate of Origin
(DCO)](https://developercertificate.org/).

Telemetry support for physical IO (awslabs#318)

This PR adds telemetry measures for StreamReader and BlockManager.
ozkoca added a commit to ozkoca/analytics-accelerator-s3 that referenced this pull request Jul 23, 2025
Added iostats get request callback to streamReader (awslabs#317)

This PR moves IOStat callback method request from Block to StreamReader.
Needs to be done as part of code rebase

---

By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 license and I agree to the terms of
the [Developer Certificate of Origin
(DCO)](https://developercertificate.org/).

Telemetry support for physical IO (awslabs#318)

This PR adds telemetry measures for StreamReader and BlockManager.
ozkoca added a commit to ozkoca/analytics-accelerator-s3 that referenced this pull request Jul 25, 2025
Added iostats get request callback to streamReader (awslabs#317)

This PR moves IOStat callback method request from Block to StreamReader.
Needs to be done as part of code rebase

---

By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 license and I agree to the terms of
the [Developer Certificate of Origin
(DCO)](https://developercertificate.org/).

Telemetry support for physical IO (awslabs#318)

This PR adds telemetry measures for StreamReader and BlockManager.

Introducing retry policy to new PhysicalIO (awslabs#320)

This PR adds the capability of retry to the new PhysicalIO

awslabs#286
awslabs#287
awslabs#288
awslabs#289
awslabs#294
awslabs#316

existing APIs or behaviors?
No

No

Unit tests

---

By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 license and I agree to the terms of
the [Developer Certificate of Origin
(DCO)](https://developercertificate.org/).
ozkoca added a commit to ozkoca/analytics-accelerator-s3 that referenced this pull request Jul 25, 2025
Added iostats get request callback to streamReader (awslabs#317)

This PR moves IOStat callback method request from Block to StreamReader.
Needs to be done as part of code rebase

---

By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 license and I agree to the terms of
the [Developer Certificate of Origin
(DCO)](https://developercertificate.org/).

Telemetry support for physical IO (awslabs#318)

This PR adds telemetry measures for StreamReader and BlockManager.

Introducing retry policy to new PhysicalIO (awslabs#320)

This PR adds the capability of retry to the new PhysicalIO

awslabs#286
awslabs#287
awslabs#288
awslabs#289
awslabs#294
awslabs#316

existing APIs or behaviors?
No

No

Unit tests

---

By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 license and I agree to the terms of
the [Developer Certificate of Origin
(DCO)](https://developercertificate.org/).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants