Skip to content

Conversation

@jojochuang
Copy link
Contributor

What changes were proposed in this pull request?

A small update to HDDS-9752 such that it works for direct buffers too.

Please describe your PR in detail:
HDDS-9752 assumed the byte buffer is heap buffer which has a backing byte array. It's no longer the case after HDDS-9843 which uses direct buffer, so we need to adapt the code to support that.

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/HDDS-10361

How was this patch tested?

Unit tests

@jojochuang jojochuang requested a review from smengcl February 22, 2024 20:00
Copy link
Contributor

@smengcl smengcl left a comment

Choose a reason for hiding this comment

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

Thanks Wei-Chiu for the fix.

Copy link
Contributor

@smengcl smengcl left a comment

Choose a reason for hiding this comment

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

lgtm. We can merge this to feature branch first providing that the CI passes.

…orage/BlockOutputStream.java

Co-authored-by: Siyao Meng <[email protected]>
@jojochuang jojochuang marked this pull request as ready for review February 26, 2024 18:09
@jojochuang jojochuang added the hbase HBase on Ozone support label Feb 26, 2024
@jojochuang jojochuang merged commit 9b13435 into apache:HDDS-7593 Feb 26, 2024
smengcl added a commit to smengcl/hadoop-ozone that referenced this pull request Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hbase HBase on Ozone support

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants