redict/tests/unit
Viktor Söderqvist e9ae03787e
Delete key doesn't dirty client who watched stale key (#10256)
When WATCH is called on a key that's already logically expired, avoid discarding the
transaction when the keys is actually deleted.

When WATCH is called, a flag is stored if the key is already expired
at the time of watch. The expired key is not deleted, only checked.

When a key is "touched", if it is deleted and it was already expired
when a client watched it, the client is not marked as dirty.

Co-authored-by: Oran Agra <oran@redislabs.com>
Co-authored-by: zhaozhao.zz <zhaozhao.zz@alibaba-inc.com>
2022-02-22 12:09:46 +02:00
..
moduleapi Implemented module getchannels api and renamed channel keyspec (#10299) 2022-02-22 11:00:03 +02:00
type Fix error stats and failed command stats for blocked clients (#10309) 2022-02-21 11:20:41 +02:00
acl-v2.tcl Set default channel permission to resetchannels for 7.0 (#10181) 2022-01-30 12:02:55 +02:00
acl.tcl Add tests for ACL command error cases (#10183) 2022-02-06 07:58:28 +02:00
aofrw.tcl Added AOF rewrite support for functions. (#10141) 2022-01-19 21:21:42 +02:00
auth.tcl Add AUTH arity test (#10266) 2022-02-09 22:09:20 +02:00
bitfield.tcl
bitops.tcl
client-eviction.tcl introduce dynamic client reply buffer size - save memory on idle clients (#9822) 2022-02-22 11:19:38 +02:00
cluster.tcl Function Flags support (no-writes, no-cluster, allow-state, allow-oom) (#10066) 2022-01-14 14:02:02 +02:00
dump.tcl
expire.tcl sub-command support for ACL CAT and COMMAND LIST. redisCommand always stores fullname (#10127) 2022-01-23 10:05:06 +02:00
functions.tcl Fix wrong version calculation on Redis Function tests. (#10217) 2022-01-31 12:49:57 +02:00
geo.tcl Fix geo search bounding box check causing missing results (#10018) 2022-02-21 08:06:58 +02:00
hyperloglog.tcl
info-command.tcl Make INFO command variadic (#6891) 2022-02-08 13:14:42 +02:00
info.tcl Fix error stats and failed command stats for blocked clients (#10309) 2022-02-21 11:20:41 +02:00
introspection-2.tcl Handle key-spec flags with modules (#10237) 2022-02-08 10:01:35 +02:00
introspection.tcl introduce dynamic client reply buffer size - save memory on idle clients (#9822) 2022-02-22 11:19:38 +02:00
keyspace.tcl Add external test that runs without debug command (#9964) 2021-12-19 17:41:51 +02:00
latency-monitor.tcl sub-command support for ACL CAT and COMMAND LIST. redisCommand always stores fullname (#10127) 2022-01-23 10:05:06 +02:00
lazyfree.tcl
limits.tcl
maxmemory.tcl Added INFO LATENCYSTATS section: latency by percentile distribution/latency by cumulative distribution of latencies (#9462) 2022-01-05 14:01:05 +02:00
memefficiency.tcl Fix script active defrag test (#10318) 2022-02-21 09:37:25 +02:00
multi.tcl Delete key doesn't dirty client who watched stale key (#10256) 2022-02-22 12:09:46 +02:00
networking.tcl
obuf-limits.tcl Added INFO LATENCYSTATS section: latency by percentile distribution/latency by cumulative distribution of latencies (#9462) 2022-01-05 14:01:05 +02:00
oom-score-adj.tcl
other.tcl Fix crash when error [sub]command name contains | (#10082) 2022-01-09 13:06:51 +02:00
pause.tcl sub-command support for ACL CAT and COMMAND LIST. redisCommand always stores fullname (#10127) 2022-01-23 10:05:06 +02:00
pendingquerybuf.tcl
printver.tcl
protocol.tcl add test suite infra to test RESP3 attributes (#10247) 2022-02-07 00:10:05 +02:00
pubsub.tcl
pubsubshard.tcl Sharded pubsub implementation (#8621) 2022-01-02 16:54:47 -08:00
querybuf.tcl
quit.tcl
replybufsize.tcl introduce dynamic client reply buffer size - save memory on idle clients (#9822) 2022-02-22 11:19:38 +02:00
scan.tcl
scripting.tcl Consistent erros returned from EVAL scripts (#10218) 2022-02-08 11:44:40 +02:00
shutdown.tcl Wait for replicas when shutting down (#9872) 2022-01-02 09:50:15 +02:00
slowlog.tcl
sort.tcl
tls.tcl
tracking.tcl
violations.tcl
wait.tcl