Skip to content

Commit

Permalink
added to core and python the option to scan uncoverd slots in a cluster
Browse files Browse the repository at this point in the history
Signed-off-by: avifenesh <[email protected]>
  • Loading branch information
avifenesh authored and jamesx-improving committed Dec 19, 2024
1 parent 2dec9d0 commit 22c0041
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions glide-core/redis-rs/redis/src/commands/cluster_scan.rs
Original file line number Diff line number Diff line change
Expand Up @@ -589,8 +589,8 @@ where
// Error if slots are not covered and scanning is not allowed
return Err(RedisError::from((
ErrorKind::NotAllSlotsCovered,
"Could not find an address covering a slot, SCAN operation cannot continue \n
If you want to continue scanning even if some slots are not covered, set allow_non_covered_slots to true \n
"Could not find an address covering a slot, SCAN operation cannot continue \n
If you want to continue scanning even if some slots are not covered, set allow_non_covered_slots to true \n
Note that this may lead to incomplete scanning, and the SCAN operation lose its all guarantees ",
)));
}
Expand Down

0 comments on commit 22c0041

Please sign in to comment.