redis/tests/unit/type
debing.sun 18538461d1
Some checks failed
CI / test-ubuntu-latest (push) Has been cancelled
CI / test-sanitizer-address (push) Has been cancelled
CI / build-debian-old (push) Has been cancelled
CI / build-macos-latest (push) Has been cancelled
CI / build-32bit (push) Has been cancelled
CI / build-libc-malloc (push) Has been cancelled
CI / build-centos-jemalloc (push) Has been cancelled
CI / build-old-chain-jemalloc (push) Has been cancelled
Codecov / code-coverage (push) Has been cancelled
External Server Tests / test-external-standalone (push) Has been cancelled
External Server Tests / test-external-cluster (push) Has been cancelled
External Server Tests / test-external-nodebug (push) Has been cancelled
Spellcheck / Spellcheck (push) Has been cancelled
Add separate statistics for active expiration of keys and hash fields (#14727)
### Summary

Adds `expired_keys_active` and `expired_subkeys_active` counters to
track keys and hash fields expired by the active expiration cycle,
distinguishing them from lazy expirations.
These new metrics are exposed in INFO stats output.

### Motivation

Currently, Redis tracks the total number of expired keys (expired_keys)
and expired hash fields (expired_subkeys), but there's no way to
differentiate between expirations triggered by active expire and lazy
expire.

---------

Co-authored-by: Moti Cohen <moti.cohen@redis.com>
2026-01-22 22:30:25 +08:00
..
hash-field-expire.tcl Add separate statistics for active expiration of keys and hash fields (#14727) 2026-01-22 22:30:25 +08:00
hash.tcl Fix issues with server.allow_access_expired (#14262) 2025-10-12 11:02:03 +08:00
incr.tcl Introduce DEBUG_DEFRAG compilation option to allow run test with activedefrag when allocator is not jemalloc (#14326) 2025-09-10 12:52:20 +08:00
list-2.tcl dynamically list test files (#13220) 2024-05-30 19:09:26 +08:00
list-3.tcl Fix quicklist node not being recompressed correctly after inserting a new node before or after it (#10120) 2022-01-16 08:54:40 +02:00
list.tcl Fix crash in lookupKey() when executing_client is NULL (#14415) 2025-10-13 12:12:38 +03:00
set.tcl Introduce DEBUG_DEFRAG compilation option to allow run test with activedefrag when allocator is not jemalloc (#14326) 2025-09-10 12:52:20 +08:00
stream-cgroups.tcl Add idempotency support to XADD via IDMPAUTO and IDMP parameters (#14615) 2026-01-15 21:58:44 +08:00
stream.tcl Add idempotency support to XADD via IDMPAUTO and IDMP parameters (#14615) 2026-01-15 21:58:44 +08:00
string.tcl Fix ACL key-pattern bypass in MSETEX command (#14659) 2026-01-08 08:41:55 +02:00
zset.tcl Fix negative offset issue for ZRANGEBY[SCORE|LEX] command (#14043) 2025-06-20 13:51:52 +08:00