[infinispan-issues] [JBoss JIRA] Commented: (ISPN-341) Incr/Decr returns in memcached module appear to be incorrect

Galder Zamarreno (JIRA) jira-events at lists.jboss.org
Tue Feb 9 08:22:19 EST 2010


    [ https://jira.jboss.org/jira/browse/ISPN-341?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12511257#action_12511257 ] 

Galder Zamarreno commented on ISPN-341:
---------------------------------------

To make sure this is not a problem with the python library, running same script against memcached returns:

[g at eq]~/i/code/trunk/server/memcached/src/main/resources% python sample_python_memcached_writer.py
Testing set ['Simple_Key': Simple value] ... OK
Testing set ['Expiring_Key' : 999 : 3] ... OK
Testing increment 3 times ['Incr_Key' : starting at 1 ] ... OK
OK
OK
OK
Testing decrement 1 time ['Decr_Key' : starting at 4 ] ... OK
OK
Testing decrement 2 times in one call ['Multi_Decr_Key' : 3 ] ... OK
OK

> Incr/Decr returns in memcached module appear to be incorrect
> ------------------------------------------------------------
>
>                 Key: ISPN-341
>                 URL: https://jira.jboss.org/jira/browse/ISPN-341
>             Project: Infinispan
>          Issue Type: Bug
>            Reporter: Galder Zamarreno
>            Assignee: Galder Zamarreno
>             Fix For: 4.1.0.ALPHA1
>
>
> Verify this:
> [g at eq]~/i/code/trunk/server/memcached/src/main/resources% python sample_python_memcached_writer.py
> Testing set ['Simple_Key': Simple value] ... OK
> Testing set ['Expiring_Key' : 999 : 3] ... OK
> Testing increment 3 times ['Incr_Key' : starting at 1 ] ... OK
> FAIL: returned 50
> FAIL: returned 51
> FAIL: returned 52
> Testing decrement 1 time ['Decr_Key' : starting at 4 ] ... OK
> FAIL: returned 51
> Testing decrement 2 times in one call ['Multi_Decr_Key' : 3 ] ... OK
> FAIL: returned 50
> It appears that the returned values are ASCIIs rather than numbers itself.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the infinispan-issues mailing list