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

[2.8] [MOD-6022] fix flakyness of test_expire:testExpireDocs #4275

Merged
merged 1 commit into from
Dec 28, 2023

Conversation

github-actions[bot]
Copy link

Description

Backport of #4271 to 2.8.

we skip this test for Redis versions below 7.2 due to a bug in PEXPIRE.
In older versions, a bug involving multiple time samplings during PEXPIRE execution can cause keys to prematurely expire, triggering a "del" notification and eliminating them from the index, thus missing from search results.
This impacts the test as the key should be included in the search results but return NULL upon access (i.e lazy expiration).
The bug was resolved in Redis 7.2, ensuring the test's stability.

(cherry picked from commit 3afdc42)
@GuyAv46 GuyAv46 marked this pull request as draft December 27, 2023 11:39
@GuyAv46 GuyAv46 marked this pull request as ready for review December 27, 2023 11:39
Copy link

codecov bot commented Dec 27, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (ff81ad7) 83.42% compared to head (ea578a2) 83.45%.

Additional details and impacted files
@@            Coverage Diff             @@
##              2.8    #4275      +/-   ##
==========================================
+ Coverage   83.42%   83.45%   +0.02%     
==========================================
  Files         193      193              
  Lines       33989    33989              
==========================================
+ Hits        28356    28365       +9     
+ Misses       5633     5624       -9     

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

@meiravgri meiravgri added this pull request to the merge queue Dec 27, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Dec 27, 2023
@meiravgri meiravgri added this pull request to the merge queue Dec 27, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Dec 27, 2023
@meiravgri meiravgri added this pull request to the merge queue Dec 28, 2023
@meiravgri meiravgri removed this pull request from the merge queue due to a manual request Dec 28, 2023
@meiravgri meiravgri added this pull request to the merge queue Dec 28, 2023
Merged via the queue into 2.8 with commit 84e200f Dec 28, 2023
10 checks passed
@meiravgri meiravgri deleted the backport-4271-to-2.8 branch December 28, 2023 07:26
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.

None yet

1 participant