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(logstream): deprecate old replicateTask pool management #966

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

Conversation

ijsong
Copy link
Member

@ijsong ijsong commented Jan 21, 2025

What this PR does

This PR modifies replicate task pool implementation for future refactoring that
will resolve #843.

  • Deprecated newReplicateTask and release functions in favor of new
    implementations.
  • Added replicateTaskPool struct for simplified pool management.
  • Updated tests to use the new functions and ensure backward compatibility.

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

codecov bot commented Jan 21, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.20%. Comparing base (45a6d6b) to head (7f3f55b).

Additional details and impacted files
@@                    Coverage Diff                     @@
##           beginllsn_in_replicate     #966      +/-   ##
==========================================================
+ Coverage                   80.02%   80.20%   +0.17%     
==========================================================
  Files                         179      179              
  Lines                       21569    21592      +23     
==========================================================
+ Hits                        17261    17317      +56     
+ Misses                       3517     3490      -27     
+ Partials                      791      785       -6     

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

@ijsong ijsong force-pushed the beginllsn_in_replicate branch from 984faf6 to 793fc5e Compare February 3, 2025 10:58
@ijsong ijsong force-pushed the refactor_logstream_deprecate_old_replicatetask_pool_management branch from daf76e3 to b43dd94 Compare February 3, 2025 10:58
This PR modifies replicate task pool implementation for future refactoring that
will resolve #843.

- Deprecated `newReplicateTask` and `release` functions in favor of new
  implementations.
- Added `replicateTaskPool` struct for simplified pool management.
- Updated tests to use the new functions and ensure backward compatibility.
@ijsong ijsong force-pushed the beginllsn_in_replicate branch from 793fc5e to 45a6d6b Compare February 3, 2025 11:24
@ijsong ijsong force-pushed the refactor_logstream_deprecate_old_replicatetask_pool_management branch from b43dd94 to 7f3f55b Compare February 3, 2025 11:25
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