Skip to content
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

feat(storagenode): change append rpc from unary to stream #449

Merged
merged 1 commit into from
Jun 4, 2023

Conversation

ijsong
Copy link
Member

@ijsong ijsong commented May 16, 2023

What this PR does

This PR changes the Append RPC lifestyle from a unary to a bidirectional stream. However, it neither
adds nor updates stream-styled Append. Therefore, this change is transparent for users.

This is starting point to support streaming Append API, and LocalOrderClient mentioned on #433.

@ijsong ijsong marked this pull request as draft May 25, 2023 06:04
@ijsong ijsong linked an issue May 25, 2023 that may be closed by this pull request
3 tasks
@ijsong ijsong marked this pull request as ready for review May 25, 2023 06:08
@ijsong ijsong force-pushed the append_rpc_from_unary_to_stream branch from 2cea668 to 02b62ce Compare June 1, 2023 03:32
Base automatically changed from use_atomic_types to main June 1, 2023 05:27
@ijsong ijsong force-pushed the append_rpc_from_unary_to_stream branch 2 times, most recently from e50b226 to ae21296 Compare June 1, 2023 23:47
Copy link
Member

@hungryjang hungryjang left a comment

Choose a reason for hiding this comment

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

It has already been made into an issue, but I hope the stream can be reused.

This PR changes the Append RPC lifestyle from a unary to a bidirectional stream. However, it neither
adds nor updates stream-styled Append. Therefore, this change is transparent for users.

This is starting point to support streaming Append API, and LocalOrderClient mentioned on #433.
@ijsong ijsong force-pushed the append_rpc_from_unary_to_stream branch from ae21296 to 5b27a18 Compare June 4, 2023 07:37
@ijsong ijsong changed the base branch from main to lint_depguard June 4, 2023 07:37
@ijsong
Copy link
Member Author

ijsong commented Jun 4, 2023

@ijsong started a stack merge that includes this pull request via Graphite.

Base automatically changed from lint_depguard to main June 4, 2023 08:01
@ijsong ijsong merged commit 7e4ef03 into main Jun 4, 2023
@ijsong ijsong deleted the append_rpc_from_unary_to_stream branch June 4, 2023 08:01
@ijsong
Copy link
Member Author

ijsong commented Jun 4, 2023

@ijsong merged this pull request with Graphite.

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.

storagenode,client: introduce LogStreamAppender
2 participants