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

refactor(storagenode): committer to remove requireCommitWaitTasks parameter #969

Open
wants to merge 1 commit into
base: remove_deferred_write_batch_code
Choose a base branch
from

Conversation

ijsong
Copy link
Member

@ijsong ijsong commented Jan 21, 2025

What this PR does

This PR removes the requireCommitWaitTasks parameter from the commitInternal
method. The parameter was used to support sync replication, which is the
recovery between two replicas in a log stream. However, sync replication doesn't
use commitInternal anymore.

@ijsong ijsong requested a review from hungryjang as a code owner January 21, 2025 12:30
Copy link

codecov bot commented Jan 21, 2025

Codecov Report

Attention: Patch coverage is 80.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 80.19%. Comparing base (3e1d1de) to head (b74daea).

Files with missing lines Patch % Lines
internal/storagenode/logstream/committer.go 80.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@                         Coverage Diff                          @@
##           remove_deferred_write_batch_code     #969      +/-   ##
====================================================================
+ Coverage                             80.00%   80.19%   +0.18%     
====================================================================
  Files                                   178      178              
  Lines                                 21505    21500       -5     
====================================================================
+ Hits                                  17206    17241      +35     
+ Misses                                 3506     3477      -29     
+ Partials                                793      782      -11     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

…ameter

This PR removes the requireCommitWaitTasks parameter from the commitInternal
method. The parameter was used to support sync replication, which is the
recovery between two replicas in a log stream. However, sync replication doesn't
use commitInternal anymore.
@ijsong ijsong force-pushed the remove_deferred_write_batch_code branch from bbcb5b1 to 3e1d1de Compare January 23, 2025 12:09
@ijsong ijsong force-pushed the refactor_sn_committer_to_remove_requirecommitwaittasks_parameter branch from 75d32d4 to b74daea Compare January 23, 2025 12:09
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