Skip to content

Conversation

shubhamdhama
Copy link

It's already here in the implementation of the StreamServer implementations but not available through interface, so essentially it's hidden. In this change we update its parameters to become compatible with gRPC and added that definition in the interface.

It's already here in the implementation of the StreamServer implementations
but not available through interface, so essentially it's hidden. In this
change we update its parameters to become compatible with gRPC and added
that definition in the interface.
@shubhamdhama
Copy link
Author

Some more context here: RecvMsg is defined in the stream server implementations,
but it's not exposed through the generated public interface. This change adds that
method to the interface, and while I'm at it, I'm updating the argument to match
what gRPC uses. This should avoid hacks like this and make the code
simpler.

Copy link

@cthumuluru-crdb cthumuluru-crdb left a comment

Choose a reason for hiding this comment

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

LGTM!

@shubhamdhama shubhamdhama merged commit e416077 into cockroachdb:main Jun 2, 2025
shubhamdhama added a commit to shubhamdhama/cockroach that referenced this pull request Jun 3, 2025
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