valkey: Upgrade 9.0.1 -> 9.0.2

Upgrade to release 9.0.2:

- Avoid memory leak of new argv when HEXPIRE commands target only
  non-exiting fields
- Fix HINCRBY and HINCRBYFLOAT to update volatile key tracking
- Avoid empty hash object when HSETEX added no fields
- Fix case-sensitive check for the FNX and FXX arguments in HSETEX
- Prevent assertion in active expiration job after a hash with
  volatile fields is overwritten
- Fix HRANDFIELD to return null response when no field could be
  found
- Fix HEXPIRE to not delete items when validation rules fail and
  expiration is in the past
- Fix how hash is handling overriding of expired fields overwrite
- HSETEX - Always issue keyspace notifications after validation
- Make zero a valid TTL for hash fields during import mode and data
  loading
- Trigger prepareCommand on argc change in module command filters
- Restrict TTL from being negative and avoid crash in import-mode
- Fix chained replica crash when doing dual channel replication
- Skip slot cache optimization for AOF client to prevent key
  duplication and data corruption
- Fix used_memory_dataset underflow due to miscalculated
  used_memory_overhead
- Avoid duplicate calculations of network-bytes-out in slot stats
  with copy-avoidance
- Fix XREAD returning error on empty stream with + ID
- Track reply bytes in I/O threads if commandlog-reply-larger-than
  is -1
- This makes it possible to mitigate a performance regression in
  9.0.1 caused by the related bug fix

Fixes references to TMPDIR [buildpaths] and avoids [already-stripped].

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Leon Anavi
2026-02-05 11:22:57 +02:00
committed by Khem Raj
parent 800998234a
commit 1b820b98af
@@ -15,7 +15,7 @@ SRC_URI = "git://github.com/valkey-io/valkey.git;branch=9.0;protocol=https;tag=$
file://0001-src-Do-not-reset-FINAL_LIBS.patch \
file://GNU_SOURCE-7.patch \
"
SRCREV = "ab3c953b80289d88991095f53c1235fc2f8b44d6"
SRCREV = "1ac4cfe4c877a6cb8cb2e28fa7094055ac06f64b"
RPROVIDES:${PN} = "virtual-redis"
@@ -46,6 +46,11 @@ do_compile() {
}
do_install() {
# Remove debug paths to avoid TMPDIR [buildpaths] errors
sed -i -e 's#${TMPDIR}##g' ${S}/src/valkey-benchmark
sed -i -e 's#${TMPDIR}##g' ${S}/src/valkey-server
sed -i -e 's#${TMPDIR}##g' ${S}/src/valkey-cli
export PREFIX=${D}/${prefix}
oe_runmake install
install -d ${D}/${sysconfdir}/valkey
@@ -65,6 +70,7 @@ do_install() {
fi
}
CONFFILES:${PN} = "${sysconfdir}/valkey/valkey.conf"
INITSCRIPT_NAME = "valkey-server"
@@ -73,3 +79,5 @@ INITSCRIPT_PARAMS = "defaults 87"
SYSTEMD_SERVICE:${PN} = "valkey.service"
CVE_STATUS[CVE-2022-3734] = "not-applicable-platform: CVE only applies for Windows."
INSANE_SKIP:${PN} = "already-stripped"