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

Bugfix - if get_redis_hash finds an invalid key, put it back in the queue. #57

Merged
merged 2 commits into from
Aug 27, 2019

Conversation

willgraf
Copy link
Contributor

There should not be any invalid keys, but after calling LREM on keys that are found to be invalid, several large-scale tests did not complete, leaving keys stranded with status new.

Putting the keys back has resolved that issue, however, there is a chance that this will cause zip consumers to never scale down as they constantly RPOPLPUSH invalid keys, then putting them back.

However, despite this risk, I have not seen any large-scale jobs go unfinished with this bugfix.

@willgraf willgraf merged commit c4883ae into master Aug 27, 2019
@willgraf willgraf deleted the bugfix/stranded-new-keys branch August 27, 2019 16:41
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