Skip to content

Code Review Bench PR #14562 - Clean up lookahead-related code#3

Open
tomerqodo wants to merge 7 commits intobase_pr_14562_20260125_2033from
corrupted_pr_14562_20260125_2033
Open

Code Review Bench PR #14562 - Clean up lookahead-related code#3
tomerqodo wants to merge 7 commits intobase_pr_14562_20260125_2033from
corrupted_pr_14562_20260125_2033

Conversation

@tomerqodo
Copy link

Code Review Bench PR redis#14562

Original PR Title: Clean up lookahead-related code
Original PR Description: ## Summary

Clean up lookahead-related(redis#14440) code by consolidating slot extraction logic.

Changes

  • Replace GETSLOT_NOKEYS with INVALID_CLUSTER_SLOT
  • Refactor getSlotFromCommand() to reuse extractSlotFromKeysResult()
  • Let extractSlotFromKeysResult () behavior more unified and more readable
  • Fix comment alignment
    Original PR URL: Clean up lookahead-related code redis/redis#14562

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