The post has been translated automatically. Original language: Russian
The Valkey project, an open key-value repository compatible with Redis, has released a fixed version 9.2.1. In the release notes, it is dated November 25, 2026. A week after the first stable version of branch 9.2, released on November 18, the team fixed ten bugs: one related to TLS startup, the rest related to replication, I/O streams, modules, and cluster. The urgency level of the update is indicated as MODERATE: the update is worth planning, but you don't need to give up everything for it. There are no vulnerabilities with CVE numbers in this release, and there are no new commands or configuration settings.
TLS is working again as before 9.2
The most notable fix concerns the regression of branch 9.2. The server stopped running or refused to apply TLS settings if a certificate expired. A typical case is an expired root certificate inside a package specified by the tls-ca-cert-file parameter. In corporate networks, such packages are often collected over the years, and the old root certificates remain in them. In 9.2.1, the old certificate loading behavior was returned.
Snapshots without fork and a new type of Path Hash
In 9.2.0, RDB snapshots appeared without child process generation (fork) and a new Path Hash data type with PH family commands. Both functions are young, and there was a mistake at their junction: the PHGET command on a large Path Hash could drop the server if it was being saved without a fork at that moment. In 9.2.1, this drop is fixed.
Replication and I/O streams
Several fixes relate to replica reliability:
- with two-channel replication, the replica reported successful synchronization, even if communication with the main node was interrupted while it was using the local buffer. Now she interrupts such synchronization and starts it again.;
- the I/O streams could resend already recorded data to the client, which the server closes. Because of this, a replica that was disabled for exceeding the client-output-buffer-limit could receive a protocol error.;
- when the number of IO threads decreased on the go, the mutex was unblocked twice - this is undefined behavior.;
- a possible emergency check in the IO stream has been eliminated when new data arrives for a closed client with an unreadable command.
Cluster, Modules, and EXEC
The remaining fixes affect narrower scenarios. The COMMAND GETKEYS command for EXEC returned incorrect keys and could cause a crash if the conditions were greater than 256. Fixed uninitialized memory reading in ValkeyModule_CloseKey: it occurred when the module changed the type of the public key via ValkeyModule_Call. In the cluster, access to the released memory is closed — the node could fall, having received the extension of the "forgotten node", where the sender indicates himself. In addition, nodes no longer accept outdated information about replicas that form a replication cycle.
What does this mean in practice?
If you have already upgraded to 9.2.0, you should upgrade to 9.2.1 in the next work window. This is especially true for those who have TLS enabled with a common root certificate package: regression occurs on restart, that is, at the most inconvenient moment — after restarting the host or recreating the container. Before updating, it is useful to check the validity period of the certificates in the package. Fixing removes the symptom, but expired certificates should be cleaned out.
For those who try snapshots without fork and Path Hash, it is wise to upgrade to enable these functions on loaded nodes. For replication, it is worth checking two points: whether dual-channel synchronization is enabled and whether replicas are running into the client-output-buffer-limit. If there were protocol errors in the replica logs or "successful" synchronizations with subsequent data discrepancies, the cause may be corrected errors.
For those who are on 9.1 or older branches and are just planning to upgrade to 9.2, it is better to start immediately with 9.2.1 rather than 9.2.0.
The draft text was prepared with the participation of AI, the facts are checked against the original source — official release notes of the Valkey project on GitHub
Проект Valkey, открытое хранилище «ключ-значение», совместимое с Redis, выпустил исправительную версию 9.2.1. В заметках к выпуску она датирована 25 ноября 2026 года. Через неделю после первой стабильной версии ветки 9.2, вышедшей 18 ноября, команда закрыла десять ошибок: одна касается запуска с TLS, остальные — репликации, потоков ввода-вывода, модулей и кластера. Уровень срочности обновления указан как MODERATE: обновление стоит запланировать, но бросать всё ради него не нужно. Уязвимостей с номерами CVE в этом выпуске нет, новых команд и параметров конфигурации тоже.
TLS снова работает как до 9.2
Самое заметное исправление касается регрессии ветки 9.2. Сервер переставал запускаться или отказывался применять настройки TLS, если какой-то сертификат вышел за пределы срока действия. Типичный случай — просроченный корневой сертификат внутри пакета, заданного параметром tls-ca-cert-file. В корпоративных сетях такие пакеты часто собирают годами, и старые корневые сертификаты в них остаются. В 9.2.1 вернули прежнее поведение загрузки сертификатов.
Снимки без fork и новый тип Path Hash
В 9.2.0 появились снимки RDB без порождения дочернего процесса (forkless) и новый тип данных Path Hash с командами семейства PH. Обе функции молодые, и на их стыке нашлась ошибка: команда PHGET на большом Path Hash могла уронить сервер, если в этот момент шло сохранение без fork. В 9.2.1 это падение устранено.
Репликация и потоки ввода-вывода
Несколько исправлений касаются надёжности реплик:
- при двухканальной репликации реплика сообщала об успешной синхронизации, даже если связь с основным узлом рвалась, пока она применяла локальный буфер. Теперь она прерывает такую синхронизацию и запускает её заново;
- потоки ввода-вывода могли повторно отправлять уже записанные данные клиенту, которого сервер закрывает. Из-за этого реплика, отключённая за превышение client-output-buffer-limit, могла получить ошибку протокола;
- при уменьшении числа IO-потоков на ходу мьютекс разблокировался дважды — это неопределённое поведение;
- устранена возможная аварийная проверка в IO-потоке, когда для закрываемого клиента с недочитанной командой приходят новые данные.
Кластер, модули и EXEC
Остальные исправления затрагивают более узкие сценарии. Команда COMMAND GETKEYS для EXEC возвращала неверные ключи и могла привести к падению, если условий больше 256. В ValkeyModule_CloseKey исправлено чтение неинициализированной памяти: оно возникало, когда модуль менял тип открытого ключа через ValkeyModule_Call. В кластере закрыто обращение к освобождённой памяти — узел мог упасть, получив расширение «забытого узла», где отправитель указывает сам себя. Кроме того, узлы больше не принимают устаревшие сведения о репликах, которые образуют цикл репликации.
Что это значит на практике
Если вы уже перешли на 9.2.0, обновление до 9.2.1 стоит поставить в ближайшее окно работ. Особенно это касается тех, у кого включён TLS с общим пакетом корневых сертификатов: регрессия проявляется при перезапуске, то есть в самый неудобный момент — после перезагрузки хоста или пересоздания контейнера. Перед обновлением полезно проверить сроки действия сертификатов в пакете. Исправление снимает симптом, но просроченные сертификаты лучше вычистить.
Тем, кто пробует снимки без fork и Path Hash, разумно обновиться до включения этих функций на нагруженных узлах. Для репликации стоит проверить два момента: включена ли двухканальная синхронизация и не упираются ли реплики в client-output-buffer-limit. Если в логах реплик бывали ошибки протокола или «успешные» синхронизации с последующим расхождением данных, причина может быть в исправленных ошибках.
Тем, кто сидит на 9.1 или более старых ветках и только планирует переход на 9.2, лучше начинать сразу с 9.2.1, а не с 9.2.0.
Черновик текста подготовлен с участием ИИ, факты сверены с первоисточником — официальные release notes проекта Valkey на GitHub
Comments 1
Newest Popular