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

CROSSSLOT keys issue fix when using redis cluster #710

Merged
merged 1 commit into from
Jul 25, 2023

Conversation

naveen-chidhambaram
Copy link
Contributor

Addresses issue #709

  • Intentionally did not write test as we will need to set up Redis cluster in spec/spec_helper.rb based on the compatible redis gem version.

Copy link
Member

@andrehjr andrehjr left a comment

Choose a reason for hiding this comment

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

It would be awesome to add an spec for this. If you want to add one later, that would be cool :) I might add one later. Sorry for taking too long!

The push/renames look good to me.

with redis-namespace:

1690243266.694866 [0 [::1]:57123] "MULTI"
1690243266.694891 [0 [::1]:57123] "rpush" "ns:some_list_tmp{ns:some_list}" "1" "2" "3"
1690243266.694915 [0 [::1]:57123] "rename" "ns:some_list_tmp{ns:some_list}" "ns:some_list"
1690243266.694925 [0 [::1]:57123] "EXEC"

without redis-namespace

1690243327.047441 [0 [::1]:57144] "MULTI"
1690243327.047461 [0 [::1]:57144] "rpush" "some_list_tmp{some_list}" "1" "2" "3"
1690243327.047469 [0 [::1]:57144] "rename" "some_list_tmp{some_list}" "some_list"
1690243327.047479 [0 [::1]:57144] "EXEC

@andrehjr andrehjr merged commit 77d482b into splitrb:main Jul 25, 2023
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.

2 participants