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

Make replica CLUSTER RESET flush async based on replica-lazy-flush #1190

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

Conversation

enjoy-binbin
Copy link
Member

Currently, if the replica has a lot of data, CLUSTER RESET
will block for a while and report the slowlog, and it seems
that there is no harm in making it async so external components
can be easier when monitoring it.

Currently, if the replica has a lot of data, CLUSTER RESET
will block for a while and report the slowlog, and it seems
that there is no harm in making it async so external components
can be easier when monitoring it.

Signed-off-by: Binbin <[email protected]>
Copy link

codecov bot commented Oct 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 70.72%. Comparing base (a62d1f1) to head (1f3336c).

Additional details and impacted files
@@             Coverage Diff              @@
##           unstable    #1190      +/-   ##
============================================
+ Coverage     70.65%   70.72%   +0.06%     
============================================
  Files           114      114              
  Lines         61799    63073    +1274     
============================================
+ Hits          43664    44607     +943     
- Misses        18135    18466     +331     
Files with missing lines Coverage Δ
src/cluster_legacy.c 86.30% <100.00%> (-0.02%) ⬇️
src/server.h 100.00% <ø> (ø)

... and 91 files with indirect coverage changes

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