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

Fix GETEX not working correctly on Redis::Bitmap #1743

Merged
merged 7 commits into from
Sep 7, 2023

Conversation

gogim1
Copy link
Contributor

@gogim1 gogim1 commented Sep 6, 2023

The expiration time of a Redis::Bitmap cannot be changed by GETEX, this PR solves the problem.

@gogim1 gogim1 changed the title Fix GETEX not working on Redis::Bitmap Fix GETEX not working correctly on Redis::Bitmap Sep 6, 2023
@git-hulk
Copy link
Member

git-hulk commented Sep 6, 2023

@gogim1 Thanks for your good catch.

@mapleFU
Copy link
Member

mapleFU commented Sep 6, 2023

@git-hulk Would the expired subkey finally cleared by compaction filter?

@git-hulk
Copy link
Member

git-hulk commented Sep 6, 2023

@git-hulk Would the expired subkey finally cleared by compaction filter?

Yes, exactly.

src/commands/cmd_string.cc Outdated Show resolved Hide resolved
Signed-off-by: Jinze Wu <[email protected]>
@gogim1
Copy link
Contributor Author

gogim1 commented Sep 7, 2023

Changes have been made in response to the comments above. PTAL. :)

Signed-off-by: Jinze Wu <[email protected]>
Copy link
Member

@mapleFU mapleFU left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@git-hulk git-hulk merged commit 59012ac into apache:unstable Sep 7, 2023
26 checks passed
@gogim1 gogim1 deleted the getex-bitmap branch September 7, 2023 08:31
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.

5 participants