valkey/tests/unit
Oran Agra bea40e6a41
memory reporting of clients argv (#7874)
track and report memory used by clients argv.
this is very usaful in case clients started sending a command and didn't
complete it. in which case the first args of the command are already
trimmed from the query buffer.

in an effort to avoid cache misses and overheads while keeping track of
these, i avoid calling sdsZmallocSize and instead use the sdslen /
bulk-len which can at least give some insight into the problem.

This memory is now added to the total clients memory usage, as well as
the client list.
2020-10-05 11:15:36 +03:00
..
moduleapi Add Swapdb Module Event (#7804) 2020-09-20 13:36:20 +03:00
type Add GET parameter to SET command (#7852) 2020-10-02 15:07:19 +03:00
acl.tcl Don't write replies if close the client ASAP (#7202) 2020-09-24 16:01:41 +03:00
aofrw.tcl AOF: run tests with preamble off when it makes sense. 2018-03-25 13:03:38 +02:00
auth.tcl ACL: AUTH + no default user password raises an error. 2019-01-17 18:30:23 +01:00
bitfield.tcl Fix BITFIELD_RO test. 2020-03-23 12:02:12 +01:00
bitops.tcl
dump.tcl Test:Fix invalid cases in hash.tcl and dump.tcl (#4611) 2020-08-12 10:25:24 +08:00
expire.tcl fix broken PEXPIREAT test (#7791) 2020-09-13 13:50:23 +03:00
geo.tcl Revert "Geo: output 10 chars of geohash, not 11." 2019-12-18 12:54:46 +01:00
hyperloglog.tcl Squash merging 125 typo/grammar/comment/doc PRs (#7773) 2020-09-10 13:43:38 +03:00
introspection-2.tcl fix #5024 - commandstats for multi-exec were logged as EXEC. 2018-09-30 12:43:11 +03:00
introspection.tcl memory reporting of clients argv (#7874) 2020-10-05 11:15:36 +03:00
keyspace.tcl
latency-monitor.tcl Fix command help for unexpected options (#7476) 2020-07-15 12:38:22 +03:00
lazyfree.tcl
limits.tcl TLS: Connections refactoring and TLS support. 2019-10-07 21:06:13 +03:00
maxmemory.tcl make replication tests more stable on slow machines 2019-05-05 08:25:01 +03:00
memefficiency.tcl Run active defrag while blocked / loading (#7726) 2020-09-03 08:47:29 +03:00
multi.tcl EXEC with only read commands should not be rejected when OOM (#7696) 2020-08-27 09:19:24 +03:00
obuf-limits.tcl Fix new obuf-limits tests to work with TLS (#7848) 2020-09-27 17:13:33 +03:00
oom-score-adj.tcl Tests: fix oom-score-adj false positives. (#7772) 2020-09-09 18:58:06 +03:00
other.tcl tests: each test client work on a distinct port range 2020-05-26 11:17:08 +03:00
pendingquerybuf.tcl Slave removal: remove slave from top-level tests descriptions. 2018-09-11 15:32:28 +02:00
printver.tcl
protocol.tcl TLS: Connections refactoring and TLS support. 2019-10-07 21:06:13 +03:00
pubsub.tcl
quit.tcl
scan.tcl Implement SCAN cursor [TYPE type] modifier suggested in issue #6107. 2019-05-22 16:39:04 +01:00
scripting.tcl Fix crash in script timeout during AOF loading (#7870) 2020-10-01 11:27:45 +03:00
shutdown.tcl Fix new obuf-limits tests to work with TLS (#7848) 2020-09-27 17:13:33 +03:00
slowlog.tcl Test: fix slowlog test false positive. 2019-05-14 16:55:52 +02:00
sort.tcl
tls.tcl Add optional tls verification (#7502) 2020-07-28 10:45:21 +03:00
tracking.tcl Fixed Tracking test “The other connection is able to get invalidations” (#7871) 2020-09-30 19:52:01 +03:00
wait.tcl Tests: fix redis-cli with remote hosts. (#7693) 2020-08-23 10:17:43 +03:00