Valkey 9.0.2stable Released Feb 03, 2026
Impact Score: 9/10

Valkey 9.0.2 - Release Notes & Engineering Impact

Source available - automated, not human-reviewed

Component: valkey · Channel: stable. Automated analysis, not a compatibility certification. How this works.

Analysis updated: 2026-11-20.

Automated impact estimate - compatibility not verified
📄 .MD
⚡ Executive Summary (TL;DR)

Valkey 9.0.2 is a high-urgency release addressing critical memory leaks, crashes, and data integrity issues within hash operations and replication logic. Users should prioritize this upgrade to prevent potential service instability and data corruption scenarios identified in previous 9.0.x versions.

Who Does This Impact? (Role-Based Analysis)

💻 Software Engineers & Devs

Engineers utilizing hash commands like HSETEX, HINCRBY, or HEXPIRE should upgrade immediately to avoid silent data corruption and memory management bugs.

📊 Product & Engineering Leads

This release stabilizes core data structures and replication reliability, ensuring consistent behavior for high-availability systems.

⚙️ DevOps & Security

Upgrade immediately to resolve memory leaks and critical crash vectors in replication and AOF persistence processes.

⚡ Performance & Enhancements (1)

  • Optimized reply byte tracking in I/O threads to mitigate performance regressions introduced in version 9.0.1

🔧 Bug Fixes & Patches (8)

  • Fixed memory leak in HEXPIRE when targeting non-existing fields
  • Corrected volatile key tracking for HINCRBY and HINCRBYFLOAT
  • Resolved assertion errors in active expiration jobs during hash overwrites
  • Fixed incorrect logic in HSETEX involving FNX/FXX arguments and keyspace notifications
  • Addressed replication crashes in chained configurations and dual-channel setups
  • Fixed data corruption risks in AOF client slot cache optimization
  • Fixed memory underflow in used_memory_dataset metrics
  • Fixed XREAD error handling for empty streams

❓ Frequently Asked Questions

Does Valkey 9.0.2 contain breaking changes?

No, this release focuses on critical bug fixes and performance regressions and does not explicitly document breaking API changes.

What is the primary highlight of 9.0.2?

The primary highlight is the resolution of critical stability and data integrity issues affecting hash data structures, replication, and memory reporting.

How should teams prepare to upgrade to 9.0.2?

Due to the 'HIGH' urgency rating, teams should perform standard regression testing in a staging environment and prioritize deployment to production to mitigate identified memory leaks and potential crash scenarios.

📄 View Raw Release Notes (Original Developer Log)
Upgrade urgency HIGH: There are critical bugs that may affect a subset of users. Bug fixes --------- * Avoid memory leak of new argv when HEXPIRE commands target only non-exiting fields (#2973) * Fix HINCRBY and HINCRBYFLOAT to update volatile key tracking (#2974) * Avoid empty hash object when HSETEX added no fields (#2998) * Fix case-sensitive check for the FNX and FXX arguments in HSETEX (#3000) * Prevent assertion in active expiration job after a hash with volatile fields is overwritten (#3003, #3007) * Fix HRANDFIELD to return null response when no field could be found (#3022) * Fix HEXPIRE to not delete items when validation rules fail and expiration is in the past (#3023, #3048) * Fix how hash is handling overriding of expired fields overwrite (#3060) * HSETEX - Always issue keyspace notifications after validation (#3001) * Make zero a valid TTL for hash fields during import mode and data loading (#3006) * Trigger prepareCommand on argc change in module command filters (#2945) * Restrict TTL from being negative and avoid crash in import-mode (#2944) * Fix chained replica crash when doing dual channel replication (#2983) * Skip slot cache optimization for AOF client to prevent key duplication and data corruption (#3004) * Fix used_memory_dataset underflow due to miscalculated used_memory_overhead (#3005) * Avoid duplicate calculations of network-bytes-out in slot stats with copy-avoidance (#3046) * Fix XREAD returning error on empty stream with + ID (#2742) Performance/Efficiency Improvements ----------------------------------- * Track reply bytes in I/O threads if commandlog-reply-larger-than is -1 (#3086, #3126). This makes it possible to mitigate a performance regression in 9.0.1 caused by the bug fix #2652. **Full Changelog**: https://github.com/valkey-io/valkey/compare/9.0.1...9.0.2