Hi,
Found behaviour that is somewhat strange.
Case:
do a set, with exptime 20
wait 1 sec
do a touch with exptime 2, overriding the previous exptime
wait 3 secs
the document is no longer there, and that looks like wanted behaviour.
now,
do a set, with exptime 20
wait 1 sec
do a append with exptime 2, (which should be overriding the previous exptime?)
wait 3 secs
the document is still there.
Is this a bug or a feature?
What should be the expected behaviour?
- like touch, overriding the old exptime
- the append expires and the original version comes back. (did not test if that was the case). But that would be very weird, as multiple appends can have different exptimes, potentially expiring out of order.
- on append, exptime is ignored.
Client 2.0.7, on libevent
Server 2.0.1 community edition (build-170)