nightdomain / jmemcache-daemon

Automatically exported from code.google.com/p/jmemcache-daemon
Apache License 2.0
0 stars 0 forks source link

CAS test fails in binary mode with block store #7

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Running the test suite with the block store enabled (see params in 
AbstractCacheTest) triggers failure for the CAS test:

2009-11-08 13:51:45.508 INFO net.spy.memcached.MemcachedConnection:  
Connection state changed for sun.nio.ch.SelectionKeyImpl@16dcf7b
Exception in thread "Memcached IO over {MemcachedConnection to 
localhost/127.0.0.1:1040}" java.lang.AssertionError: CAS was less than zero:  
0
    at 
net.spy.memcached.MemcachedClient$5.gotData(MemcachedClient.java:770)
    at 
net.spy.memcached.protocol.ascii.BaseGetOpImpl.handleRead(BaseGetOpImpl.java
:97)
    at 
net.spy.memcached.protocol.ascii.OperationImpl.readFromBuffer(OperationImpl.
java:108)
    at 
net.spy.memcached.MemcachedConnection.handleReads(MemcachedConnection.java:3
62)
    at 
net.spy.memcached.MemcachedConnection.handleIO(MemcachedConnection.java:306)
    at 
net.spy.memcached.MemcachedConnection.handleIO(MemcachedConnection.java:193)
    at net.spy.memcached.MemcachedClient.run(MemcachedClient.java:1458)

Original issue reported on code.google.com by ryan.daum on 8 Nov 2009 at 6:52

GoogleCodeExporter commented 9 years ago

Original comment by ryan.daum on 5 Feb 2010 at 3:11

GoogleCodeExporter commented 9 years ago
casUnique value was not being stored to block region after 0.9 refactors

Original comment by ryan.daum on 5 Feb 2010 at 3:27