Hi Lucas, Could you run the following curl statement and provide the full transcript of the command and response?
curl -vvv -XGET "http://localhost:8098/riak/ttl_stg/props" -- Luke Bakken Engineer / CSE lbak...@basho.com On Mon, Oct 6, 2014 at 8:55 AM, Lucas Grijander <lucasgrinjande...@gmail.com> wrote: > Hi Luke, > > Of course. The request is a simple curl: > > curl -v -X GET "http://localhost:8098/riak/ttl_stg/KEY" > > 2014-10-06 16:59 GMT+02:00 Luke Bakken <lbak...@basho.com>: >> >> Hi Lucas, >> >> Can you confirm that the bucket or bucket-type that contains the >> object you're retrieving has been configured to use the "ttl_stg" >> backend? >> -- >> Luke Bakken >> Engineer / CSE >> lbak...@basho.com >> >> >> On Fri, Oct 3, 2014 at 11:32 AM, Lucas Grijander >> <lucasgrinjande...@gmail.com> wrote: >> > Hello, >> > >> > I have a memory backend in production with Riak 2.0.1, 4 servers and 256 >> > vnodes. The servers have the same date and time. >> > >> > I have seen an odd performance with the ttl. >> > >> > This is the config: >> > >> > {<<"ttl_stg">>,riak_kv_memory_backend, >> > [{ttl,90},{max_memory,25}]}, >> > >> > For example, see this GET response in one of the riak servers: >> > >> > < HTTP/1.1 200 OK >> > < X-Riak-Vclock: a85hYGBgzGDKBVIc4otdfgR/7bfIYEpkzGNlKI1efJYvCwA= >> > < Vary: Accept-Encoding >> > * Server MochiWeb/1.1 WebMachine/1.10.5 (jokes are better explained) is >> > not >> > blacklisted >> > < Server: MochiWeb/1.1 WebMachine/1.10.5 (jokes are better explained) >> > < Link: </riak/ttl_stg>; rel="up" >> > < Last-Modified: Fri, 03 Oct 2014 17:40:05 GMT >> > < ETag: "3c8bGoifWcOCSVn0otD5nI" >> > < Date: Fri, 03 Oct 2014 17:47:50 GMT >> > < Content-Type: application/json >> > < Content-Length: 17 >> > >> > If the TTL is 90 seconds, Why the GET doesn't return "not found" if the >> > difference between "Last-Modified" and "Date" (of the curl request) is >> > greater than the TTL? >> > >> > Thanks in advance! >> > >> > >> > _______________________________________________ >> > riak-users mailing list >> > riak-users@lists.basho.com >> > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com >> > > > > > _______________________________________________ > riak-users mailing list > riak-users@lists.basho.com > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com > _______________________________________________ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com