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

Remove PFCOUNT and PFMERGE from the list of illegal cluster pipeline commands (#1565) #1566

Merged
merged 1 commit into from
Mar 17, 2025

Conversation

stepanmracek
Copy link
Contributor

Related to the issue #1565.

As long as all keys in PFCOUNT command are hashed to the same slot, there should be no problem using the command in the cluster pipeline.

@stepanmracek stepanmracek force-pushed the f_pfcount_cluster_pipeline branch 2 times, most recently from 7cec72c to ef72e26 Compare March 15, 2025 21:48
@stepanmracek stepanmracek changed the title Remove PFCOUNT from the list of illegal cluster pipeline commands (#1565) Remove PFCOUNT and PFMERGE from the list of illegal cluster pipeline commands (#1565) Mar 15, 2025
@stepanmracek stepanmracek force-pushed the f_pfcount_cluster_pipeline branch from ef72e26 to ae39761 Compare March 15, 2025 22:20
@nihohit
Copy link
Contributor

nihohit commented Mar 16, 2025

Thanks for the contribution!

…commands

based on the discussion in (redis-rs#1565) the preferred approach is to check
the possible violation of same-slot policy for all involved keys on the
client side
@stepanmracek stepanmracek force-pushed the f_pfcount_cluster_pipeline branch from ae39761 to 32c24b4 Compare March 16, 2025 18:59
@nihohit nihohit merged commit 24f8b4c into redis-rs:main Mar 17, 2025
10 checks passed
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

2 participants