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

Core + Py: add allow_non_covered_slots to ClusterScan and related commands #2814

Merged
merged 4 commits into from
Dec 22, 2024

Conversation

avifenesh
Copy link
Collaborator

@avifenesh avifenesh commented Dec 14, 2024

This pull request focuses on refactoring and simplifying the cluster_scan functionality in the glide-core/redis-rs library and adding allow non cover slots functionality to the core and py. Other important changes include removing redundant methods, consolidating the cluster_scan functions, and updating the related tests.

Refactoring and simplification:

Error handling improvements:

Test updates:

These changes aim to streamline the codebase, improve error handling, and ensure the tests are up-to-date with the new functionality.

Issue link

This Pull Request is linked to issue #2436

Checklist

Before submitting the PR make sure the following are checked:

  • This Pull Request is related to one issue.
  • Commit message has a detailed description of what changed and why.
  • Tests are added or updated.
  • CHANGELOG.md and documentation files are updated.
  • Destination branch is correct - main or release
  • Commits will be squashed upon merging.

@avifenesh avifenesh requested a review from a team as a code owner December 14, 2024 12:15
@avifenesh avifenesh self-assigned this Dec 14, 2024
@avifenesh avifenesh added Feature Additional feature, big or small All Wrappers issue Issue relevant to all wrrappers. 1_2_1_candidate labels Dec 14, 2024
@avifenesh avifenesh added this to the 1.2.1 milestone Dec 14, 2024
@avifenesh avifenesh changed the title Go: add allow_non_covered_slots to ClusterScan and related commands Core + Py: add allow_non_covered_slots to ClusterScan and related commands Dec 14, 2024
@raphaelauv
Copy link

🎉

@avifenesh avifenesh mentioned this pull request Dec 14, 2024
5 tasks
@avifenesh avifenesh force-pushed the Feature-dummyScan branch 4 times, most recently from 0b0c077 to 85ddec0 Compare December 14, 2024 23:04
@ikolomi ikolomi removed this from the 1.2.1 milestone Dec 15, 2024
@avifenesh avifenesh force-pushed the Feature-dummyScan branch 4 times, most recently from c4156b2 to 29024eb Compare December 18, 2024 11:37
Signed-off-by: avifenesh <[email protected]>
@avifenesh avifenesh merged commit 96d974d into valkey-io:main Dec 22, 2024
89 of 114 checks passed
@raphaelauv
Copy link

@avifenesh 🥇

@avifenesh
Copy link
Collaborator Author

@raphaelauv we are hopefully going to release it as a patch this week.
Appreciate your patience!

niharikabhavaraju pushed a commit to niharikabhavaraju/valkey-glide that referenced this pull request Dec 29, 2024
…mands (valkey-io#2814)

* added to core and python the option to scan uncoverd slots in a cluster

Signed-off-by: avifenesh <[email protected]>

* addresed comments

Signed-off-by: avifenesh <[email protected]>

* Refactor slot scanning logic and improve test coverage for cluster scan functionality

Signed-off-by: avifenesh <[email protected]>

* Refactor cluster readiness check and enhance scan error handling in tests

Signed-off-by: avifenesh <[email protected]>

---------

Signed-off-by: avifenesh <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1_2_1_candidate All Wrappers issue Issue relevant to all wrrappers. Feature Additional feature, big or small
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

4 participants