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

multi_zdel is not removing everything #35

Closed
dim opened this issue May 12, 2013 · 1 comment
Closed

multi_zdel is not removing everything #35

dim opened this issue May 12, 2013 · 1 comment
Assignees
Labels

Comments

@dim
Copy link

dim commented May 12, 2013

When using multi_zdel it seems that not everything is correctly removed. Although the keys are gone, the sets themselves still remain. See example below:

> zset n a 1
  ok
  (0.003 sec)
> zset n b 2
  ok
  (0.000 sec)
> zsize n
  2
  (0.000 sec)
> zscan n a 0 100 -1
  key             score
  -------------------------
    a              : 1
    b              : 2
  2 result(s) (0.000 sec)
> multi_zdel n a b
  2
  (0.000 sec)
> zscan n a 0 100 -1        # <----- OK
  key             score
  -------------------------
  0 result(s) (0.000 sec)
> zsize n                   # <----- NOT OK, should return 0
  1
  (0.000 sec)
> zlist k m -1              # <----- NOT OK, should return no results
               name
  -----------------
                  n
  1 result(s) (0.000 sec)
@ghost ghost assigned ideawu May 12, 2013
@ideawu
Copy link
Owner

ideawu commented May 12, 2013

fixed since 1.4.2

@ideawu ideawu closed this as completed May 12, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants