Fix test, disable expiration until empty buckets are formed#12689
Merged
oranagra merged 1 commit intoredis:unstablefrom Oct 24, 2023
Merged
Fix test, disable expiration until empty buckets are formed#12689oranagra merged 1 commit intoredis:unstablefrom
oranagra merged 1 commit intoredis:unstablefrom
Conversation
88cf181 to
384c707
Compare
enjoy-binbin
approved these changes
Oct 24, 2023
oranagra
approved these changes
Oct 24, 2023
Member
oranagra
left a comment
There was a problem hiding this comment.
thanks.
yes, the freebsd CI is extremely slow.
Contributor
i am debuging it, and if we add a [r keys *] before so i guess in the daily, it fail because this code (running dbBuckets): |
Contributor
Author
|
Thanks @enjoy-binbin. While fixing bug #12694, we discovered dbBuckets was taking more than 50% of the CPU time due to @roshkhatri / I are looking into |
Contributor
Author
|
Here is a fix to improve performance of |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Test failure on freebsd CI:
https://github.com/redis/redis/actions/runs/6607001072/job/17943822780#step:4:8901
Observation:
expiry of keys might happen before the empty buckets are formed and won't help with the expiry skip logic validation.
Solution:
Disable expiration until the empty buckets are formed.
Additional testing:
Added some wait between key deletion and observed the test was failing prior to this change.