Files
ofiryanaiandYaacovHazan 2325419c33 Limit VADD REDUCE dim to not exceed original dim
* Limit VADD REDUCE dim to not exceed original dim

Enforce VADD key [REDUCE dim]  to reject dim that is bigger than the HNSW original dim, as dimension reduction makes no sense for reduce_dim > original_dim.
This also avoids OOM and possible heap overflow on later allocations using reduce_dim.

This should be backported to Redis version 8.0, 8.2 and 8.4.
2026-05-14 14:10:41 +03:00
..
2025-08-12 11:45:35 +08:00
2025-07-18 18:19:14 +08:00