redis/modules/vector-sets/tests
Zijie Zhao 8e89e0b89f
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
Fix VSIM FILTER memory leaks on duplicate option and error paths (#14898)
`VSIM_RedisCommand` in `vset.c` had two memory leak bugs related to the
compiled FILTER expression (`exprstate` allocated by `exprCompile`):

1. Duplicate FILTER: When two FILTER options are provided in a single
VSIM command, the second `exprCompile` overwrites `filter_expr` without
freeing the first. Only the last one is freed in `VSIM_execute cleanup`.
   Fix: call `exprFree` on the existing `filter_expr` before reassigning.

2. Error path leaks: When FILTER is parsed successfully but a later
option fails validation (invalid COUNT/EF/EPSILON/FILTER-EF or unknown
option), the error return frees `vec` but not `filter_expr`.
   Fix: add `exprFree(filter_expr)` to all five error return paths.
2026-03-27 12:27:24 +08:00
..
basic_commands.py Add 'modules/vector-sets/' from commit 'c6db0a7c20ff5638f3a0c9ce9c106303daeb2f67' 2025-04-02 16:34:28 +03:00
basic_similarity.py Add 'modules/vector-sets/' from commit 'c6db0a7c20ff5638f3a0c9ce9c106303daeb2f67' 2025-04-02 16:34:28 +03:00
bin_vectorization.py Vectorize binary quantization path for vectorsets distance calculation (#14492) 2026-01-29 19:59:48 +08:00
concurrent_vadd_cas_del_vsim.py Add 'modules/vector-sets/' from commit 'c6db0a7c20ff5638f3a0c9ce9c106303daeb2f67' 2025-04-02 16:34:28 +03:00
concurrent_vsim_and_del.py Add 'modules/vector-sets/' from commit 'c6db0a7c20ff5638f3a0c9ce9c106303daeb2f67' 2025-04-02 16:34:28 +03:00
debug_digest.py Add 'modules/vector-sets/' from commit 'c6db0a7c20ff5638f3a0c9ce9c106303daeb2f67' 2025-04-02 16:34:28 +03:00
deletion.py Add 'modules/vector-sets/' from commit 'c6db0a7c20ff5638f3a0c9ce9c106303daeb2f67' 2025-04-02 16:34:28 +03:00
dimension_validation.py Add 'modules/vector-sets/' from commit 'c6db0a7c20ff5638f3a0c9ce9c106303daeb2f67' 2025-04-02 16:34:28 +03:00
epsilon.py VSIM EPSILON fixes (#14223) 2025-08-12 11:45:35 +08:00
evict_empty.py Add 'modules/vector-sets/' from commit 'c6db0a7c20ff5638f3a0c9ce9c106303daeb2f67' 2025-04-02 16:34:28 +03:00
filter_expr.py [Vector Sets] IN operator for string/string operands (#14122) 2025-06-26 10:13:54 +08:00
filter_int.py Add 'modules/vector-sets/' from commit 'c6db0a7c20ff5638f3a0c9ce9c106303daeb2f67' 2025-04-02 16:34:28 +03:00
large_scale.py Add 'modules/vector-sets/' from commit 'c6db0a7c20ff5638f3a0c9ce9c106303daeb2f67' 2025-04-02 16:34:28 +03:00
memory_usage.py Add 'modules/vector-sets/' from commit 'c6db0a7c20ff5638f3a0c9ce9c106303daeb2f67' 2025-04-02 16:34:28 +03:00
node_update.py Add 'modules/vector-sets/' from commit 'c6db0a7c20ff5638f3a0c9ce9c106303daeb2f67' 2025-04-02 16:34:28 +03:00
persistence.py Fix vrand ping pong (#14183) 2025-07-18 18:19:14 +08:00
q8_similarity.py Vectorized the quantized 8-bit vector distance calculation (#14474) 2026-01-27 09:25:59 +08:00
q8_vectorization.py Vectorized the quantized 8-bit vector distance calculation (#14474) 2026-01-27 09:25:59 +08:00
reduce.py Add 'modules/vector-sets/' from commit 'c6db0a7c20ff5638f3a0c9ce9c106303daeb2f67' 2025-04-02 16:34:28 +03:00
replication.py Add 'modules/vector-sets/' from commit 'c6db0a7c20ff5638f3a0c9ce9c106303daeb2f67' 2025-04-02 16:34:28 +03:00
threading_config.py Add config base to vector-sets and hnsw thread config (#14082) 2025-06-16 10:06:43 +08:00
vadd_cas.py Add 'modules/vector-sets/' from commit 'c6db0a7c20ff5638f3a0c9ce9c106303daeb2f67' 2025-04-02 16:34:28 +03:00
vemb.py Add 'modules/vector-sets/' from commit 'c6db0a7c20ff5638f3a0c9ce9c106303daeb2f67' 2025-04-02 16:34:28 +03:00
vismember.py Vector Sets: VISMEMBER and other fixes (#13941) 2025-04-15 22:58:57 +03:00
vrand-ping-pong.py Fix vrand ping pong (#14183) 2025-07-18 18:19:14 +08:00
vrandmember.py Add 'modules/vector-sets/' from commit 'c6db0a7c20ff5638f3a0c9ce9c106303daeb2f67' 2025-04-02 16:34:28 +03:00
vrange.py [vector sets] VRANGE implementation (#14235) 2025-10-09 10:14:14 +08:00
vsim_duplicate_filter.py Fix VSIM FILTER memory leaks on duplicate option and error paths (#14898) 2026-03-27 12:27:24 +08:00
vsim_filter_error_leak.py Fix VSIM FILTER memory leaks on duplicate option and error paths (#14898) 2026-03-27 12:27:24 +08:00
vsim_limit_efsearch.py [RED-170693] Limit efSearch parameter to avoid heap overflow (#14373) 2025-10-05 16:15:24 +08:00
with.py Implement WITHATTRIBS for VSIM. (#14065) 2025-05-27 22:12:48 +08:00