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

fix(storagenode): support partial success/failure for append #450

Merged
merged 1 commit into from
Jun 4, 2023

Conversation

ijsong
Copy link
Member

@ijsong ijsong commented May 19, 2023

What this PR does

The Append RPC function allows batch logging but may occasionally only partially succeed. The
storage node previously overlooked partial success, but this PR fixes to consider partial success.

@codecov-commenter
Copy link

Codecov Report

Patch coverage: 87.50% and project coverage change: +0.01 🎉

Comparison is base (2cea668) 63.24% compared to head (b93c628) 63.26%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

Additional details and impacted files
@@                         Coverage Diff                         @@
##           append_rpc_from_unary_to_stream     #450      +/-   ##
===================================================================
+ Coverage                            63.24%   63.26%   +0.01%     
===================================================================
  Files                                  132      132              
  Lines                                17933    17940       +7     
===================================================================
+ Hits                                 11342    11349       +7     
+ Misses                                6023     6022       -1     
- Partials                               568      569       +1     
Impacted Files Coverage Δ
internal/storagenode/logstream/append.go 79.69% <87.50%> (-1.26%) ⬇️

... and 7 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@ijsong ijsong marked this pull request as draft May 25, 2023 06:04
@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
@ijsong ijsong force-pushed the append_partial_success branch from b93c628 to d728673 Compare June 1, 2023 03:32
@ijsong ijsong force-pushed the append_rpc_from_unary_to_stream branch from 02b62ce to e50b226 Compare June 1, 2023 06:08
@ijsong ijsong force-pushed the append_partial_success branch from d728673 to d83347c Compare June 1, 2023 06:08
@ijsong ijsong force-pushed the append_rpc_from_unary_to_stream branch from e50b226 to ae21296 Compare June 1, 2023 23:47
@ijsong ijsong force-pushed the append_partial_success branch from d83347c to 9c0f857 Compare June 1, 2023 23:47
The Append RPC function allows batch logging but may occasionally only partially succeed. The
storage node previously overlooked partial success, but this PR fixes to consider partial success.
@ijsong ijsong force-pushed the append_rpc_from_unary_to_stream branch from ae21296 to 5b27a18 Compare June 4, 2023 07:37
@ijsong ijsong force-pushed the append_partial_success branch from 9c0f857 to 5d438bb Compare 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 append_rpc_from_unary_to_stream to main June 4, 2023 08:01
@ijsong ijsong merged commit c8b7fe0 into main Jun 4, 2023
@ijsong
Copy link
Member Author

ijsong commented Jun 4, 2023

@ijsong merged this pull request with Graphite.

@ijsong ijsong deleted the append_partial_success branch June 4, 2023 08:01
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.

3 participants