bigdata4u / spymemcached

Automatically exported from code.google.com/p/spymemcached
0 stars 0 forks source link

New exp in touch not working #276

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Reproduce with JUnit test:

        client.add("key", 2, "value");
        Assert.assertNotNull(client.get("key"));

        Thread.sleep(2000);
        Assert.assertNull(client.get("key"));

        client.add("key", 10, "value");
        Assert.assertNotNull(client.get("key"));
        client.touch("key", 1);
        Thread.sleep(2000);
        Assert.assertNull(client.get("key"));

The last get should return null, since the item should have expired 1 second 
ago.

Original issue reported on code.google.com by francisc...@fronde.com on 17 May 2013 at 12:10

GoogleCodeExporter commented 8 years ago

Original comment by ingen...@gmail.com on 17 May 2013 at 4:03

GoogleCodeExporter commented 8 years ago
This seems to be a memcached problem. See 
https://groups.google.com/forum/?fromgroups#!topic/memcached/Ffe3A5Ojo2o

Original comment by francisc...@fronde.com on 17 May 2013 at 4:08

GoogleCodeExporter commented 8 years ago
So should we mark this as invalid? Let me know if we can help here, according 
to the code the EXP is sent correctly (and we've not seen an issue with this in 
couchbase directly).

Original comment by michael....@gmail.com on 17 May 2013 at 6:31

GoogleCodeExporter commented 8 years ago
Yes, please.

Original comment by francisc...@fronde.com on 18 May 2013 at 10:25

GoogleCodeExporter commented 8 years ago
I'll handle this one.

Original comment by michael....@gmail.com on 21 May 2013 at 5:05