KevinQi1981 / jmemcache-daemon

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

cas issue: "gets" fails after "add" #24

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Invoking a "gets" after "add" (with spymemcached 2.5) fails with jmemcached 
0.9.1, while doing a "gets" after a "set" is fine.

The attached test shows this behavior.

I'm just working at a new feature of memcached-session-manager 
(http://code.google.com/p/memcached-session-manager) where I really need this 
handling and I'm running all integration tests with jmemcached (which is great 
software btw!). Therefore it's somehow urgent to me.

If I can help with s.th. please let me know!

Thx && cheers,
Martin

Original issue reported on code.google.com by martin.grotzke on 6 Jan 2011 at 12:58

Attachments:

GoogleCodeExporter commented 9 years ago
I just created a patch for this including the related test. If you're ok with 
this I'd be happy to see it upstream :-)

Original comment by martin.grotzke on 6 Jan 2011 at 10:31

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by ryan.daum on 10 Jan 2011 at 6:04

GoogleCodeExporter commented 9 years ago
I am unable to make your test fail using the head off Mercurial.  I'll commit 
your test as "Issue24Regression" and you can see if it still fails for you.

Original comment by ryan.daum on 10 Jan 2011 at 6:08

GoogleCodeExporter commented 9 years ago
Reading through your patch it looks sensible, so I've applied it and committed 
it.

Original comment by ryan.daum on 10 Jan 2011 at 6:13