-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Implement NettyByteBuf.asReadOnly #1841
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
Conversation
|
Replaces #1825 with the bare minimum change to allow NettyByteBuf's to be able to log / have tracing. Without the duplication in |
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.
driver-core/src/main/com/mongodb/internal/connection/netty/NettyByteBuf.java
Outdated
Show resolved
Hide resolved
…tyByteBuf.java Co-authored-by: Valentin Kovalenko <[email protected]>
|
@stIncMale done |
stIncMale
left a comment
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.
There is only one small thing. Ross, feel free to merge after that.
The last reviewed commit is 9f2782e.
driver-core/src/test/unit/com/mongodb/internal/connection/CompositeByteBufTest.java
Outdated
Show resolved
Hide resolved
…ositeByteBufTest.java Co-authored-by: Valentin Kovalenko <[email protected]>
|
@stIncMale cannot merge unless this gets an LGTM and passes all evergreen checks |
CompositeByteBuf#duplicate should duplicate underlying buffers JAVA-5982 --------- Co-authored-by: Valentin Kovalenko <[email protected]>
CompositeByteBuf#duplicate should duplicate underlying buffers JAVA-5982 --------- Co-authored-by: Valentin Kovalenko <[email protected]>
JAVA-5982