Skip to content


Subversion checkout URL

You can clone with
Download ZIP


hscan 0 0 match * count 20 #1563

hwongcom opened this Issue · 3 comments

4 participants


hscan 0 0 match * count 20

returns 832 and (40 other items)
hscan 0 832 match * count 20
returns 608 and (42 other items)
it is inconsistent!
i would like it to return also 40 items instead of 42. why is this so? with or without "match"

i populated test data with php using this code. please help.
for($i=0; $i<2000; $i++){
$redis->hset( $j, $i, $j.$i.md5($j.$i));


Read, especially the parts about "Number of elements returned at every SCAN call" and "The COUNT option"

@pietern pietern closed this

I've read. how to make it consistent?


@hwongcom currently, it is impossible because of scan implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.