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

BLMOVE is also used with clients not supporting it, resulting in broken pipeline #2233

Closed
wagner-intevation opened this issue Aug 8, 2022 · 0 comments · Fixed by #2240
Closed
Labels
bug Indicates an unexpected problem or unintended behavior
Milestone

Comments

@wagner-intevation
Copy link
Contributor

2022-08-08T14:46:59.313000 - deduplicator-expert - INFO - Bot will continue in 15 seconds.
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/intelmq/lib/pipeline.py", line 267, in _receive
    retval = self.pipe.blmove(self.source_queue, self.internal_queue, 0, 'RIGHT', 'LEFT')
AttributeError: 'Redis' object has no attribute 'blmove'

Server version is 7.0.2, but the python library is 3.3.11. BLMOVE is first available in 4.0.0 (and 4.1.2 fixed a major bug redis/redis-py#1776).

@sebix sebix added the bug Indicates an unexpected problem or unintended behavior label Aug 8, 2022
@sebix sebix added this to the 3.1.0 milestone Aug 8, 2022
@sebix sebix changed the title BLMOVE is also used with clients not supporting it, resulting in BLMOVE is also used with clients not supporting it, resulting in broken pipeline Aug 8, 2022
sebix pushed a commit that referenced this issue Aug 31, 2022
BRLPOPLPUSH is deprecated, but BLMOVE can only be used if the redis
python client does support it, ie. >= 4.1.2

fixes #2233
sebix pushed a commit that referenced this issue Dec 22, 2022
BRLPOPLPUSH is deprecated, but BLMOVE can only be used if the redis
python client does support it, ie. >= 4.1.2

fixes #2233
sebix pushed a commit that referenced this issue Dec 22, 2022
BRLPOPLPUSH is deprecated, but BLMOVE can only be used if the redis
python client does support it, ie. >= 4.1.2

fixes #2233
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates an unexpected problem or unintended behavior
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants