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

XTRIM - MINID as in redis 6.2.0 #1454

Closed
manigsankar opened this issue Mar 1, 2021 · 3 comments · Fixed by #1508
Closed

XTRIM - MINID as in redis 6.2.0 #1454

manigsankar opened this issue Mar 1, 2021 · 3 comments · Fixed by #1508

Comments

@manigsankar
Copy link

Version:3.5

Platform: Linux-pycharm

Description: XTRIM - eviction based on timestamp IDs using MINID as it is available from redis6.2.0...
will we get upgrades on this?

@gtrainavicius
Copy link

I just found the xtrim MINID is missing too, but looks like it can be accessed anyway like this:

r.execute_command('XTRIM', stream_name, 'MINID', '~', id)

@manigsankar
Copy link
Author

manigsankar commented Mar 3, 2021 via email

@rhdxmr
Copy link

rhdxmr commented Apr 8, 2021

I need this feature too 👍
Until it is added to redis-py, I am going to make use of execute_command
Thank you

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 a pull request may close this issue.

3 participants