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

Support the MAXAGE option for CLIENT KILL #3754

Merged
merged 4 commits into from
Mar 7, 2024

Conversation

gerzse
Copy link
Contributor

@gerzse gerzse commented Mar 5, 2024

Issue #3731

Starting with Redis 7.6, the CLIENT KILL command has a new option, called MAXAGE, to kill clients older than a given age. Add support for this new option.

Issue redis#3731

Starting with Redis 7.6, the CLIENT KILL command has a new option,
called MAXAGE, to kill clients older than a given age. Add support for
this new option.
@gerzse gerzse requested a review from sazzad16 March 5, 2024 07:43
@codecov-commenter
Copy link

codecov-commenter commented Mar 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 75.37%. Comparing base (25acc8d) to head (96279dd).

❗ Current head 96279dd differs from pull request most recent head 95efbff. Consider uploading reports for the commit 95efbff to get more accurate results

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #3754      +/-   ##
============================================
- Coverage     75.40%   75.37%   -0.04%     
  Complexity     4931     4931              
============================================
  Files           300      300              
  Lines         15054    15055       +1     
  Branches       1131     1131              
============================================
- Hits          11352    11348       -4     
- Misses         3207     3211       +4     
- Partials        495      496       +1     

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

@sazzad16 sazzad16 added this to the 5.2.0 milestone Mar 5, 2024
Co-authored-by: M Sazzadul Hoque <7600764+sazzad16@users.noreply.github.com>
@sazzad16 sazzad16 merged commit 3dd2dd2 into redis:master Mar 7, 2024
5 checks passed
sazzad16 added a commit that referenced this pull request Jul 10, 2024
* Support the MAXAGE option for CLIENT KILL

Starting with Redis 7.6, the CLIENT KILL command has a new option, called MAXAGE, to kill clients older than a given age. Add support for this new option.

* Ensure clients are closed in some tests

* More concise unit test code

Co-authored-by: M Sazzadul Hoque <7600764+sazzad16@users.noreply.github.com>

---------

Co-authored-by: Gabriel Erzse <gabriel.erzse@redis.com>
Co-authored-by: M Sazzadul Hoque <7600764+sazzad16@users.noreply.github.com>
@sazzad16 sazzad16 modified the milestones: 5.2.0, 5.1.4 Jul 10, 2024
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add command filter for CLIENT KILL to support maximum age via [MAXAGE] option
3 participants