mirror of
https://github.com/redis/redis.git
synced 2026-07-16 13:32:51 -04:00
|
Some checks are pending
CI / test-ubuntu-latest (push) Waiting to run
CI / test-sanitizer-address (push) Waiting to run
CI / build-debian-old (push) Waiting to run
CI / build-macos-latest (push) Waiting to run
CI / build-32bit (push) Waiting to run
CI / build-libc-malloc (push) Waiting to run
CI / build-centos-jemalloc (push) Waiting to run
CI / build-old-chain-jemalloc (push) Waiting to run
Codecov / code-coverage (push) Waiting to run
External Server Tests / test-external-standalone (push) Waiting to run
External Server Tests / test-external-cluster (push) Waiting to run
External Server Tests / test-external-nodebug (push) Waiting to run
Spellcheck / Spellcheck (push) Waiting to run
## Issue
The `XREAD MAXSIZE budget is per-command inside MULTI/EXEC` test compares the
entry count of a standalone `XREAD` reply against the same `XREAD` issued inside
a `MULTI`/`EXEC`. Under `--force-resp3` the test client's RESP3→RESP2
`transform_response_if_needed` dispatcher keys only on the command actually
sent, so it transforms the standalone `XREAD` reply but leaves the `EXEC` reply
and its nested sub-replies untouched. The standalone reply therefore arrives in
RESP2 array-of-pairs shape (`{{stream {entries...}}}`) while the EXEC-nested
`XREAD` reply stays in RESP3 map shape (`{stream {entries...}}`), causing
`xread_total_entries` to count `22` versus `2` and the assertion to fail only
under `--force-resp3`, even though both replies are functionally correct.
## Change
Normalize the nested `XREAD` reply from `EXEC` when running with
`--force-resp3`, so the test compares the same RESP2-style structure for
both the standalone and transactional `XREAD` replies.
|
||
|---|---|---|
| .. | ||
| cluster | ||
| moduleapi | ||
| type | ||
| acl-v2.tcl | ||
| acl.tcl | ||
| aofrw.tcl | ||
| auth.tcl | ||
| bitfield.tcl | ||
| bitops.tcl | ||
| client-eviction.tcl | ||
| dump.tcl | ||
| expire.tcl | ||
| functions.tcl | ||
| gcra.tcl | ||
| geo.tcl | ||
| hotkeys.tcl | ||
| hyperloglog.tcl | ||
| info-command.tcl | ||
| info-keysizes.tcl | ||
| info.tcl | ||
| introspection-2.tcl | ||
| introspection.tcl | ||
| keyspace.tcl | ||
| latency-monitor.tcl | ||
| lazyfree.tcl | ||
| limits.tcl | ||
| maxmemory.tcl | ||
| memefficiency.tcl | ||
| multi.tcl | ||
| networking.tcl | ||
| obuf-limits.tcl | ||
| oom-score-adj.tcl | ||
| other.tcl | ||
| pause.tcl | ||
| printver.tcl | ||
| protocol.tcl | ||
| pubsub.tcl | ||
| pubsubshard.tcl | ||
| querybuf.tcl | ||
| quit.tcl | ||
| replybufsize.tcl | ||
| scan.tcl | ||
| scripting.tcl | ||
| shutdown.tcl | ||
| slowlog.tcl | ||
| sort.tcl | ||
| tls.tcl | ||
| tracking.tcl | ||
| violations.tcl | ||
| wait.tcl | ||