Repository navigation
Version 2.4.3
What's Changed
Enhancements
--transactionnow pins a rotation to a single key, in every mode (#485). In--cluster-mode --transaction, every__key__across a--commandrotation now resolves to the same key (taken from the first keyed command's--command-key-pattern), so all keyed commands of aWATCH/MULTI/EXECunit (e.g.WATCH/GET/SETEX) hash to one slot and one key. Previously each keyed--commanddrew an independent key: without a hash tag they landed in different slots and the cluster rejected the transaction withCROSSSLOT/MOVED; even with a hash tag theWATCHguarded a different key than theSETEXwrote, making the optimistic lock meaningless. The same per-rotation key reuse was also lifted into the base client, so--transactionis no longer a no-op without--cluster-mode— it now collapses keys against a single endpoint that fronts a slot-enforcing backend (e.g. a Redis Enterprise proxy accessed without--cluster-mode). Requires the literal text around__key__(including any{tag}) to be identical across keyed commands;--helpand the standalone warning updated accordingly.
New Features
- EXEC aborts broken out from misses under
--transaction(#486). AnEXECthat returns a null array is an optimistic-lock abort (a watched key changed), not a cache miss. Under--transactionthe stats table gains anAborts/seccolumn alongsideMisses/sec, the per-command warning forEXECnow reads "abort rate" instead of "miss rate", and JSON output gainsAborts/secfor theEXECcommand block and Totals. This is a display-only reinterpretation —EXECnulls still increment the per-command miss counter, so global miss totals are unchanged, and the column/field/wording only change under--transaction; default arbitrary-command output is untouched.
Bug Fixes
--realtime-latencieslive miss % in--command(arbitrary) mode: the live "miss %" was wired to the SET/GET hit/miss counters, which stay zero for arbitrary commands, so it always showed-. It now sources misses from the arbitrary-command counters, and adds a live "abort %" field under--transaction(#486).
Full Changelog: 2.4.2...2.4.3